What is a synonym? How is it used?

Answer Posted / s

Synonym is alternate name for a table.

Use of synonyms avoids changes to programs when you migrate
programs from test to production.

create synonym abc for test.abc in test

create synonym abc for prod.abc in production

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

553


Why do we need reorg in db2?

566


Give a brief description of db2 isolation levels?

605


What is a db2 cursor?

626


In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?

646






What is view db2?

626


Define db2 and its databases?

622


What is load replace in db2?

562


What is runstats db2?

586


How connect db2 database to datastage?

766


I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?

1938


How do I start db2 in windows?

567


How is the value function used?

606


What os does db2 run on?

574


What are the different types of base tables?

587