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 All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts count contained values of several col... DB2 5
No new posts To join 2 tables and to join 3rd tabl... DB2 8
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Rexx to read current Panvalet editor/... CLIST & REXX 0
No new posts Extract ISPF table column headings CLIST & REXX 2
Search our Forums:


Back to Top