What is a synonym? How is it used?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / vinod
A synonym is used to reference a table or view by another
name. The other name can then be written in the application
code pointing to test tables in the development stage and to
production entities when the code is migrated. The synonym
is linked to the AUTHID that created it.
| Is This Answer Correct ? | 0 Yes | 0 No |
DB2: A calls B once sucessfull and second time when it calls says curson is open why is it so?
my project is insurance management system,how to explain my work environment in interview?
What is multi row fetch in db2?
Differentiate between cs and rr isolation levels? Where do you specify them?
Once you create a view, where would information about the view be stored?
Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?
I have 3 cursors declared. Cursor1 retieves some data. Based on this curso2 will also fetches some data. In cursor3 (using for some updation) I'm using the data retrieved by the above 2 cursor. My question is, while working with cursor3, periodically if I give commit, will all the three crsors will be closed or only cursor3 will be closed?
how will i display the duplicate record's from a table... i don't want to eliminate ...i want to display the duplicate record...for example in my table i have 10 record's like record no(1,2,3,4,2,9,6,1) in this ...so i want to receive duplicates...
can we drop column from a table
How do I add a column in db2?
how to fetch multiple records without using cursor
wht is d/f b/w inner join and outer join ? d/f group by and order by having by ?