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



I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl..

Answer / s

SELECT count(*) from SYSIBM.SYSTABLES
WHERE CREATOR = 'OWNER' ;

Is This Answer Correct ?    4 Yes 0 No

I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl..

Answer / satish

select count(*) from sysibm.systables where creator='owner'

select * from sysibm.systables

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

How can you get the number of rows impacted by the last executed query?

1 Answers  


What is the maximum size of a char data type in db2?

0 Answers  


If I have a view which is a join of two or more tables, can this view be updatable?

3 Answers  


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

0 Answers  


How can you do the explain of a dynamic sql statement?

0 Answers  


in my table i will update only 100 record among 1000 records i need to display recently updated record'.....can u tell me where those records are stored how can i display those records...?if there is any sql query pls let me know....?

3 Answers   Infosys,


What is the use of dclgen in db2?

0 Answers  


What is the use of predicate?

0 Answers  


SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected

0 Answers  


What is dbrm? When it will be created?

0 Answers  


I want to fetch the 10th row of a table which has been changed.How can I do it without going thru all the rows.

5 Answers  


What is an alias and how does it differ from a synonym?

3 Answers  


Categories