|
Archives of the TeradataForumMessage Posted: Wed, 28 Sep 2011 @ 09:49:15 GMT
<-- Anonymously Posted: Wednesday, September 28, 2011 05:15 --> Hi, I understand that you are looking for the list of table which has 1308/ 1408/ 1206 as its last FOUR chars, regardless of database name..... So, 1. You will have to query out DBC.Table dictionary table. 2. have to use STRING Function [may be 'INSTR'] along with CONCATE function to find out last four chars as above [with IN clause or a '=' for your filter string]. Else if you know the repository name which occupy these tables, you can probably use the below query SEL * FROM DBC.TABLES WHERE DATABASENAME='Database_Name' AND TABLENAME LIKE '%1308%'; Hope this can help you.....
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||