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

Storage area of view table..


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

New User


Joined: 03 Aug 2009
Posts: 25
Location: Singapore

PostPosted: Sun Oct 25, 2009 1:24 am
Reply with quote

Hi friends,
As we know that VIEW has only logical existence, no physical existence and it is derived from Base Table. Can u please tell me where the view is logically stored? Is it stored in temporary storage table?

Thanks & Regards,
Samim Aktar
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Oct 25, 2009 3:08 am
Reply with quote

Hello,

Suggest you re-think and more clearly post your question. Are you asking about the definition of the view or the data returned when a SELECT is issued using the view?

The view uses the same physical data that resides in the underlying table but only the columns named in the view are accessable to the query.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sun Oct 25, 2009 3:21 am
Reply with quote

If you are talking about the location of the SQL that represents a VIEW,
it is maintained in one of the SYSIBM...tables,
a complete description of which can be found in an APPENDIX of every
DB2 SQL Reference ---- which you need to read.
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 CLIST - Virtual storage allocation error CLIST & REXX 5
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