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

Is db2 free?

1141


What is runstats and reorg in db2?

1362


What do you mean by between and in? Is between inclusive of specified range values?

1139


What is precompiler in db2?

1077


What is cursor in dbms?

1113


What is view db2?

1131


What is the use of db2 optimizer?

1175


How to execute stored procedure in db2 command editor?

1103


What is the use of db2?

1114


What are bind parameters in db2?

1097


What is the difference between db2 and oracle?

1178


What is ibm db2 client?

1006


How can you quickly find out the # of rows updated after an update statement?

1086


What is access path in db2?

1042


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

1136