Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
To track all the views which uses the same table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
karthikr44

Active User


Joined: 25 Aug 2007
Posts: 105
Location: trichy

PostPosted: Thu Apr 24, 2008 3:20 pm    Post subject: To track all the views which uses the same table
Reply with quote

Cud u pls suggest me an answer on this…


I have a table , say an emp table. I need to track all the views which uses this table as source…


Regards
R.Karthik
Back to top
View user's profile Send private message
References
PostPosted: Thu Apr 24, 2008 3:20 pm    Post subject: Re: To track all the views which uses the same table Reply with quote

ashimer

Active User


Joined: 13 Feb 2004
Posts: 267
Location: Bangalore

PostPosted: Thu Apr 24, 2008 4:55 pm    Post subject:
Reply with quote

try this

Code:


select name from sysibm.sysviews where text like '%table_name%';

Back to top
View user's profile Send private message
Bharath Bhat

New User


Joined: 20 Mar 2008
Posts: 37
Location: chennai

PostPosted: Thu Apr 24, 2008 6:21 pm    Post subject:
Reply with quote

Go to Platinum
Code:
 
DB2 Object ===> T                       Option  ===> V    Where => N   
 Table Name ===> emp                >  Creator ===> *
  Qualifier ===> *                    >  Grantor ===> *         


It will list all the views on the table emp.
Back to top
View user's profile Send private message
Anuj D.

Senior Member


Joined: 22 Apr 2006
Posts: 1345
Location: Mumbai, India

PostPosted: Fri Apr 25, 2008 4:47 am    Post subject:
Reply with quote

Do you have BMC Software Administrative Products for DB2 installed at your shop?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1