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 |
where can we use index and subscript ? with example ?
query to just fetch first matching row and stop execution. once one matching row is found ..no more records should be checked.. if the first record is matching.. the query must stop
What is the maximum size of varchar data type in db2?
wht steps we need will coding cobol and db2 pgm ?
How can you validate Sql errors during cursor operation in db2 pgms and where do you code?
What are the contents of a dclmgen?
why we create view.
What else is there in the PLAN apart from the access path?
What do you mean by storage group (stogroup)?
What are packages in db2?
What are the abend codes occour in ur latest PROJECT in DB2
If I have a view which is a join of two or more tables, can this view be updatable?