DB2: To get list of tables for a schema

SELECT TABNAME  FROM SYSCAT.TABLES  WHERE TABSCHEMA = 'WCS'; 

 




db2 list tables for schema wcs show detail;

Column headings 

Table/View    Type       Creation time           Schema 

Table/View                                                                                                                       Schema                                                                                                                           Type  Creation time

-------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------- ----- --------------------------

ACACGPDESC                                                                                                                       WCS                                                                                                                              T     2021-09-08-13.25.40.332461

ACACTACTGP                                                                                                                       WCS                                                                                                                              T     2021-09-08-13.25.40.515227

ACACTDESC                                                                                                                        WCS                                                                                                                              T     2021-09-08-13.25.40.681107

ACACTGRP                                                                                                                         WCS       

Comments

Popular posts from this blog

Oracle: To clean up WRI$_ADV_OBJECTS