Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Date partitioned tables - response (1) by M.Saeed Khurram

$
0
0

Hi Praveen,
There is a DBC view available named dbc.indexconstraints. You can use this view to get all the partitioned table names. The partitioned tables have a constrainttype of 'Q'. There is also an attribute constrainttext which contains original partition expression. You can use like operator to find the date partitioned tables.
for example

SELECT * FROM dbc.indexconstraints
WHERE Constrainttype = 'Q' AND ConstraintText like '%%';

 


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>