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

Answer Posted / guru

Alias & Synonyms are alternate of table or a view.

ALIAS SYNONYM


1. it is a global object. 1. it is aprivate object.
2. any one can access the 2. but the one who create
alias. the alias can only
access it.
3.when the base table is
droped.Alias is not dropped. 3. when the base table is
droped.SYNONYM is dropped
automatically.

Is This Answer Correct ?    19 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is collection in db2 bind?

577


What is meant by explain?

660


When reorg is used?

672


For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.

658


What is a db2 collection?

605






Which component is responsible for processing sql statements and selecting access paths?

667


What is difference between alias and synonym in db2?

643


Differentiate between cs and rr isolation levels? Where do you specify them?

583


What is commit in db2?

596


How to get the ddl of a table in db2?

679


What is coalesce in db2?

682


Which command is used to remove all rows from a table?

553


What is db2?

741


What is query_cache_limit?

543


what is the responsibility of the construction superintendent

1662