![]() |
|
Archives of the TeradataForumMessage Posted: Tue, 29 Mar 2011 @ 20:29:42 GMT
Presuming you want just tables:
SEL DATABASENAME, TABLENAME
FROM DBC.COLUMNS
WHERE COLUMNNAME = 'BRCH_ID'
AND COLUMNFORMAT IS NOT NULL
ORDER BY 1,2;
If you want all objects (tables, views indexes)
SEL DATABASENAME, TABLENAME FROM
DBC.COLUMNS WHERE COLUMNNAME = 'BRCH_ID'
ORDER BY 1,2;
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||