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 the use of db2?

1057


What is host variable?

1060


Explain the contention situations caused by locks?

1071


What is db2?

1185


What is the difference between nvl and coalesce?

1065


What is db2 optimizer?

1239


What is db2 purescale?

1007


What is the function of logging in the db2 database?

1123


What is runstats and reorg in db2?

1305


What do you mean by cursor?

989


How can you do the explain of a dynamic sql statement?

1069


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 default page size of buffer pools?

1123


What are the uses of db2 optimizer?

1297


How to connect to db2 database from windows command line?

1066