Help Center/
GaussDB(DWS)/
Tool Guide/
DSC/
SQL Syntax Migration Reference/
Teradata Syntax Migration/
Schema Objects and Data Definition Language (DDL)/
DBC.TABLES
Updated on 2024-07-19 GMT+08:00
DBC.TABLES
The DSC migrates dbc.tables to their corresponding mig_td_ext.vw_td_dbc_tables.
Example: databasename is migrated as mig_td_ext.vw_td_dbc_tables.schemaname.
Input:
1 2 3 4 5 |
sel databasename,tablename FROM dbc.tables WHERE tablekind='T' and trim(databasename) = '<dbname>' AND ( NOT(TRIM(tablename) LIKE ANY (<excludelist>)) ); |
Output:
1 2 3 4 5 6 7 8 9 10 11 |
SELECT mig_td_ext.vw_td_dbc_tables.schemaname , mig_td_ext.vw_td_dbc_tables.tablename FROM mig_td_ext.vw_td_dbc_tables WHERE mig_td_ext.vw_td_dbc_tables.tablekind = 'T' AND TRIM(mig_td_ext.vw_td_dbc_tables.schemaname) = '<dbname>' AND( NOT( TRIM(mig_td_ext.vw_td_dbc_tables.tablename) LIKE ANY ( ARRAY[ < excludelist > ] ) ) ) ; |
Parent topic: Schema Objects and Data Definition Language (DDL)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot