top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Oracle: What is the difference between alias and synonym?

0 votes
635 views
Oracle: What is the difference between alias and synonym?
posted Jan 14, 2015 by Vidhya Sagar

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

SYNONYM: is dropped when the table or tablespace is dropped. Synonym is available only to the creator.

ALIAS: is retained even if table or tablespace is dropped. ALIAS can be created even if the table does not exist. It is used mainly in distributed environment to hide the location info from programs. Alias is a global object & is available to all.

answer Jan 15, 2015 by Chirag Gangdev
...