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

How to know the database name of a DB2 table


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

New User


Joined: 05 Apr 2006
Posts: 14

PostPosted: Thu Nov 30, 2006 3:40 pm
Reply with quote

Hi,

I know the DB2 table name and I want to know the database name that has this table. Can anyone please help me on this.

Regards
Sandhya
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Thu Nov 30, 2006 3:42 pm
Reply with quote

Hi There,

In our shop we have DB2 Admin - DB2 Admin Tool by which we can identify. Check in ur shop u must be having similar type of tool
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Thu Nov 30, 2006 3:44 pm
Reply with quote

Hi There,

In our shop we have DB2 Admin - DB2 Admin Tool by which we can identify. Check in ur shop u must be having similar type of tool
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Thu Nov 30, 2006 6:28 pm
Reply with quote

run:

select *
from sysibm.systables

column DBNAME is what you want
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