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

How to find all VIEWS on a table


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

New User


Joined: 30 Sep 2008
Posts: 30
Location: India

PostPosted: Tue May 26, 2009 9:45 am
Reply with quote

Hi all,

I have small query. I would like to find out all the views that are associated with a particular DB2 Table. Can anyone pls tell me how i can do that.

Thanks in advance.
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Tue May 26, 2009 11:12 am
Reply with quote

What tools you have in your organization? Using Platinum tool you can find the details.
Back to top
View user's profile Send private message
mohanrazz

New User


Joined: 30 Sep 2008
Posts: 30
Location: India

PostPosted: Tue May 26, 2009 11:16 am
Reply with quote

ksk,
We have DB2 File manager in addn to spufi
Back to top
View user's profile Send private message
ashimer

Active Member


Joined: 13 Feb 2004
Posts: 551
Location: Bangalore

PostPosted: Tue May 26, 2009 1:37 pm
Reply with quote

Query on SYSIBM.SYSVIEWS ...

Code:


SELECT NAME FROM SYSIBM.SYSVIEWS WHERE TEXT LIKE '%tbname%'
Back to top
View user's profile Send private message
mohanrazz

New User


Joined: 30 Sep 2008
Posts: 30
Location: India

PostPosted: Tue May 26, 2009 2:01 pm
Reply with quote

ashimer, thanks.
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 To find whether record count are true... DFSORT/ICETOOL 6
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top