What is the difference between SYNONYM and ALIAS?

Answer Posted / nandivardhanreddy.n

when the table is dropped automatically synonym is dropped
and it is a private variable.
when the table is dropped alias is not dropped because it
is invalid and it is global variable.
synonym can accesed by the user who creates it

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define declaration generator (dclgen).

671


What is nvl in db2?

634


Which command is used to connect to a database in DB2 ? Give the Syntax.

612


Mention the way of highlighting as well as putting a cursor to use in a cobol program.

634


List down the data types in the db2 database.

642






B37 abend during spufi?

990


What is db2 and what is the use of db2 optimizer?

659


How to find schema of a table in db2?

576


What is the connection string to connect to the DB2 Database ?

619


What is the usage of open cursor command?

607


What are the uses of db2 optimizer?

824


Explain correlated sub-queries.

591


What is host variable?

601


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

758


List out the three types of page locks that can be held.

691