Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to rename query in Db Connections

Hello,

 

I have a query define in my metadata.

I would like juste rename. I try with SQLBuilder Editor but i can change the comment of a query not the name.0683p000009M1xv.jpg

Simply, how rename query "Q_NETAPP_E" with an another name ?

 

Thanks in advance

 

Dimitri

Labels (2)
1 Solution

Accepted Solutions
vapukov
Master II
Master II

Hi Dimitri

 

you can just save query with new name and then delete original

or you can open Talend Workspace, find your project -> metadata -> connections -> STAGING_0.1.items and edit this file in text editor

something like:

    <queries xmi:id="_0YSuIBnWEemDPNd8P_QeIA">
      <query xmi:id="_0YSuIhnWEemDPNd8P_QeIA" id="_0YSuIRnWEemDPNd8P_QeIA" label="query_logs_full" value="select * from dwh_logs"/>
    </queries>

View solution in original post

3 Replies
vapukov
Master II
Master II

Hi Dimitri

 

you can just save query with new name and then delete original

or you can open Talend Workspace, find your project -> metadata -> connections -> STAGING_0.1.items and edit this file in text editor

something like:

    <queries xmi:id="_0YSuIBnWEemDPNd8P_QeIA">
      <query xmi:id="_0YSuIhnWEemDPNd8P_QeIA" id="_0YSuIRnWEemDPNd8P_QeIA" label="query_logs_full" value="select * from dwh_logs"/>
    </queries>
Anonymous
Not applicable
Author

Hi vapuko,

 

It's works.

I prefer to change in file because sometimes the same query is in use more than one job.

 

Thanks

 

Dimitri

vapukov
Master II
Master II

Welcome! 🙂