If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > SQL SERVER vs INFORMIX

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-04-05, 09:50
meiwen meiwen is offline
Registered User
 
Join Date: Oct 2005
Posts: 30
SYNONYM vs VIEW

what's the difference between synonym and view? If i want to access in DATABASE A table AA from DATABASE B, i use create synonym AA for databasea@servera:AA, or use create a view with the same name AA on Database B, for accessing table AA in databaseA, is there any diffrence on result ? performance difference?

Last edited by meiwen; 11-04-05 at 10:02.
Reply With Quote
  #2 (permalink)  
Old 11-04-05, 10:08
artemka artemka is offline
Registered User
 
Join Date: May 2004
Location: New York
Posts: 248
synonyms and views are different things.

Synonym references a table in the different database and the view is a combo of data from different tables combined into one.

Take a look at the manual.

Last edited by artemka; 11-07-05 at 10:49.
Reply With Quote
  #3 (permalink)  
Old 11-07-05, 04:32
meiwen meiwen is offline
Registered User
 
Join Date: Oct 2005
Posts: 30
YES! THANK YOU!! I forgot the basic for the view .
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On