Skip to Content
Custom Search

Synonym of DB2 Table

 

 
 
 
 
 
 
 
 
SYNONYM OF A DB2 TABLE
 
What is a Synonym?
 
Synonyms are used to give some meaningful (alternate) names to the existing tables.
These can refer tables which are local to the system, these can not access the remote
tables. If a table is dropped then all the associated synonyms are dropped automatically.
 
 
How to Create Synonym on a DB2 Table?
 
CREATE SYNONYM synonym_name FOR Table_Name
 
Where synonym_name is the alternate name (Synonym) you want to create on the table.
and Table_name is the name of the table on which synonym is created.
; ; ; ;

Comments

Post new comment

  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Who's online

There are currently 0 users and 25 guests online.
Dr. Radut | page