Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is an alias and how does it differ from a synonym?

Answer Posted / yogendra shinde

Hi,

Alias and Synonym both are alternative names to a table
name. But the major difference between Alias and Synonym is
that
>>>Alias can be used to refer a table at different location
( meaning different or remote system and it is not provate
to user who has created it)

>>> Synonym is used to refer table in the same location
with different name. Synonym is very much provate to the
user who has created it.

>>> Regarding dropping ALIAS and SYNONYM I am doubtful.
I have read that if we drop base table or base view then
both alias and synonym are also dropped (As per C.J.DATE
DB2 version 4.0). Please update if anybody has more on this.

Is This Answer Correct ?    4 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is with ur in db2?

1313


How do I import data from excel to db2?

1071


Explain packages.

1111


What is netezza database?

1025


What is a trigger in the db2 database?

1080


What are the different types of base tables?

1092


What are the contents of dclgen?

1112


Which isolation level provides highest data integrity?

1116


Name the lockable units in DB2?

1128


File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?

2936


What are the various isolation levels possible?

1121


How can the duplicate values be eliminated from db2 select?

1106


can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well

2248


What is the advantage in De-normalizing tables in DB2?

1173


What are the prerogatives?

1080