I need to view the number of tables existing under one
particular Owner. Is it possible? If so, pl give the SQL
query for this?
Answers were Sorted based on User's Feedback
Answer / nitesh
SELECT TABNAME FROM SYSCAT.TABLES WHERE OWNER='<ownername>
eg. SELECT TABNAME FROM SYSCAT.TABLES WHERE OWNER='NITESH'
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / shankar
Select TBNAME from SYSIBM.SYSTABLES where TBOWNER = ' '
- Try 'NAME' and 'OWNER' if TB prefix does not work.
| Is This Answer Correct ? | 1 Yes | 1 No |
How do you eliminate duplicate values in db2?
If we keep the DCLGEN structure for a table in a copybook and include it in the COBOL program using the COPY statement, will there be any impact during compilation or at any stage of program execution?
How can you compare table column after update and before update?
What is database manager in db2?
Can we able to find all the Table names under a Particular Plan?
What is dclgen in db2?
What is the physical storage length of time data type?
What is a precompiler?
What can the Locate option of the Repair Utility accomplish?
What is the picture clause of the null indicator variable?
How could one combine a set of incremental image copies into a single copy?
When will you chose to run RUNSTATS?