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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
briansms
Contributor
Contributor

Creating Generic Schema from DB Connection

Hi,
Is there a quicker way of creating a Generic Schema from a complete database (with 40+ tables) than having to right-click on each table individually?
Thanks,
- Brian
Labels (2)
6 Replies
Anonymous
Not applicable

In the repository, under Metadata/DbConnections/{your connection name}/Table Schemas you can just highlight the tables you want and drag and drop them on the Generic Schemas and they will copy there.
Should you not have any table schemas under {your connection name}, you can just right-click on the connection name and select retrieve schema and up will pop a dialog box to allow you to fetch them and then you can drag and drop as above...
briansms
Contributor
Contributor
Author

Thanks SMaz, that worked. Unfortunately it won't let me put the table schemas into a folder once they have been copied down to the Generic Schema node. Every time I drag a table schema within that node to a subfolder, it just makes a Copy of... under the main Generic Schema node. Any ideas?
I want to organize the schemas by application and module... something like...
Generic Schema
|
+ Base Application
| + Table 1 schema
| + Table 2 schema
|
+ Application w/Calibration module
+ Table 1 schema
+ Table 2 schema

Thanks,
- Brian
Anonymous
Not applicable

It would make sense that you could just drag and drop them onto the folders you created.
However, I just tried it and it doesn't work. Looks to me like you found a real BUG! I'd submit a bug report.
Anonymous
Not applicable

Is there any component that helps to get the schema of a table.
dinamically i need to get the list of tables and schema of all the tables one after another .

thanks and Regards,
Pravu Mishra.
Anonymous
Not applicable

You can create some logics using the functions from your own db server to get that kind of thing
Is there any component that helps to get the schema of a table.
dinamically i need to get the list of tables and schema of all the tables one after another .

thanks and Regards,
Pravu Mishra.
Anonymous
Not applicable

Thanks for your lovely reply. 0683p000009MACn.png
As mentioned in my message, I wanted to do this using talend component.
Thanks and Regards,
pravu Mishra.