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

DROP Table & VIEW


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

New User


Joined: 09 Jul 2005
Posts: 1

PostPosted: Sat Feb 25, 2006 12:08 pm
Reply with quote

Hi,

I have doubt over the SQL Stmt DROP TABLE. I see some manual(DB2 SQL Reference) specify that dropping a base table will result in the views created on the tables also getting dropped and some say that views are not dropped it is invalidated.

Practically i see the views not getting dropped when i drop the base table.

What will happen if a views is dropped? will the views created over it is
also dropped r it is invalidated?

Kindly clarify.

Thanks,
Prasad.
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Mon Feb 27, 2006 2:23 pm
Reply with quote

I think the other views created over the deleted views are not dropped automatcally. These views become some invalidated views.
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 DROP & ALTER PARTITION-PBR DB2 0
Search our Forums:

Back to Top