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 |
What is package in db2 mainframe?
What is the FREE command?
What is a DB2 catalog?
Request to database but database is not available so what is was abend is raised?
what is the role of the cursor in db2?
What do you mean by between and in? Is between inclusive of specified range values?
How do I import data from excel to db2?
What is the maximum number of tables that can be stored on a Partitioned Table Space ?
What are the contents of a DCLGEN?
what is load and unload in db2
What is Skeleton cursor table (SKCT)?
In db2, how do you insert multiple rows in 1 query using a.) Cursors, b.) Normal query?? Give syntax for both.