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

some doubt in synonym and alias. plz help me.


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

New User


Joined: 26 Aug 2005
Posts: 33
Location: bangalore

PostPosted: Sun Jan 01, 2006 11:28 am
Reply with quote

hi friends,
i know synonym and alias. if the base table is dropped then synonym also will be dropped automatically.
but for alias if we drop base table, alias will not be dropped automatically.
even in absence of base table we can create the alias.

I don't have preveleage to create synonym and alias that's why i can't be able to try this problem in my system.

In DB2 reference book written by C.J DATE, it is clearly mentioned that " if we drop base table then both synonym and alias will be dropped automatically."

which one is right?
plz clrfy my doubt.

thanks
regards
mijanurit
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Sun Jan 01, 2006 12:51 pm
Reply with quote

Dropping a table or view has no effect on its aliases. But dropping a table or view does drop its synonyms.

Regards,

Priyesh.
Back to top
View user's profile Send private message
mijanurit
Currently Banned

New User


Joined: 26 Aug 2005
Posts: 33
Location: bangalore

PostPosted: Sun Jan 01, 2006 9:49 pm
Reply with quote

thanks priyes.agarwal for information.

regards
mijanurit
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 How to delete a user's alias from the... JCL & VSAM 11
No new posts Doubt about pl/1 (job offer) General Talk & Fun Stuff 5
No new posts doubt when executing a file when logg... TSO/ISPF 2
No new posts Copy load modules and alias IBM Tools 5
No new posts Doubt in MFS IMS DB/DC 2
Search our Forums:


Back to Top