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 the meaning concurrency in the db2 database?
What is the difference between CS and RR isolation levels?
How can we read records for specific member in CL? AND rpg?
How do I delete a column in db2?
How to create a table using embedded sql?
What parameters are used to control the free space in DB2?
What is a DB2 bind?
What is declare cursor?
1. what if null values retrived from database and no null indicator mentioned in query. What is sql code.
what is the maximum number of tables that can be joined ?
Write a query to extract first 5 characters of a name in the column Stud_Name?
Explain the EXPLAIN statement?