dbTalk Databases Forums  

Re: two databases - foreign views

comp.databases comp.databases


Discuss Re: two databases - foreign views in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bob Hairgrove
 
Posts: n/a

Default Re: two databases - foreign views - 08-06-2003 , 03:46 PM






On 4 Aug 2003 23:11:45 -0700, zorkadi (AT) yahoo (DOT) com (Zork Adi) wrote:

Quote:
hi guys,

i have two databases, an informix and a sql server running in two
different machines. is it possible to have some of the tables from
informix as views in sqlserver and vise versa, so that when i insert
in the view data gets transferred to the other machine and inserted
there? i don't want to replicate any data. is there any commercial
product that can do this?
You can probably create views like this using ODBC or OLEDB links on
the SQLServer side (don't know about Informix, though). Whether or not
they would be updatable is another story; I would tend to say,
probably not.

What you might be able to do is to create triggers on the views which
handle the actual updates/inserts/deletes by operating directly on the
tables (so-called "instead-of" triggers).


--
Bob Hairgrove
rhairgroveNoSpam (AT) Pleasebigfoot (DOT) com


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.