IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

No of table in a Database


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
l.nethaji

New User


Joined: 16 Mar 2008
Posts: 90
Location: tamil nadu

PostPosted: Sun Dec 27, 2009 5:13 pm
Reply with quote

Can anybody tell me how to find the no of tables in a database .
Is ther any system table where we can find the total no of tables .
Please give the query for the same ,

Similarly how to find it in PLATINUM tool the no of tables .
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Sun Dec 27, 2009 7:41 pm
Reply with quote

The number of tables in a given data base can be ascertained by getting the count of rows on SYSTABLES with that data base name and a type of "T(able)". Likewise, the total number of tables on a given DB2 subsystem will be the number of rows on SYSTABLES with a type of "T". As you purport to be a software engineer with a knowledge of DB2, I have every confidence that asking for me to write so trivial a query is mere sloth on your part.
Back to top
View user's profile Send private message
l.nethaji

New User


Joined: 16 Mar 2008
Posts: 90
Location: tamil nadu

PostPosted: Sun Dec 27, 2009 11:04 pm
Reply with quote

Hi,

Thanks for the reply

Regards,
L.Nethaji
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
No new posts What database does Jobtrac use CA Products 4
Search our Forums:

Back to Top