|
View previous topic :: View next topic
|
| Author |
Message |
sandhyaragav
New User
Joined: 05 Apr 2006 Posts: 14
|
|
|
|
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 |
|
 |
guptae
Moderator

Joined: 14 Oct 2005 Posts: 1209 Location: Bangalore,India
|
|
|
|
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 |
|
 |
guptae
Moderator

Joined: 14 Oct 2005 Posts: 1209 Location: Bangalore,India
|
|
|
|
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 |
|
 |
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1056 Location: Richmond, Virginia
|
|
|
|
run:
select *
from sysibm.systables
column DBNAME is what you want |
|
| Back to top |
|
 |
|
|