WebJun 13, 2024 · 5. select * from dbc.tablesv. where. CreatorName='Revisit_User1'. and databasename = 'Banking_DB'. and Tablekind = 'T'; The above query will fetch the all the tables created by User Revisit_User1 in the database Banking_DB. The TableKind field specifies the kind of object as T (table), V (view), P (stored procedure) or M (macro). WebMay 30, 2024 · Lets write the query to find unused tables in Teradata 1 2 3 Select DatabaseName,TableName from dbc.tablesv where DatabaseName = 'Banking_prod_db' and LastAccessTimeStamp <= CURRENT_DATE -90; Here dbc.tablesv is the view name of the dbc.tables. If we want to find unused tables for specific databases, we can mention …
List tables in Teradata database - Teradata Data Dictionary Queries
WebLoading Application... Tracking Consent PDFs Site Feedback Help is the irs opened
Check table size across all AMPs in Teradata - Nazmul Huda
WebMay 13, 2024 · Change column datatype or length in Teradata To Modify the a column type, length or format, we use ADD function in Teradata Syntax: ALTER TABLE Table_Name ADD Existing_Column_Name New_Data_Type(New_Length) Example: Alter table tbl_employee Add Last_Name varchar(1000); WebJul 17, 2024 · Then, use the size of that file to get an average raw data size per row of that table. Finally, multiply that average size by the total number of rows in the full table to give a raw data size for the table. Use that raw data size in your planning. ETL migration considerations Initial decisions regarding Teradata ETL migration Tip WebMar 17, 2024 · 1 Table size in Teradata: 1.1 CURRENTPERM column in DBC.ALLSPACE: 2 Query to get the Table size: 2.1 Example: 2.2 Output: 3 Query to find the Database … i have a return label but no printer