Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / August 2006

Tip: Looking for answers? Try searching our database.

DBLink to a SQL server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
samabdelmalek@gmail.com - 16 Aug 2006 18:46 GMT
Hi,

is there a way in DB2 to have a db link to a remote table in SQL Server
2000 and be able to insert data in that table?
I have 2 systems that need to access the same information almost real
time (one app uses SQL Server and the other uses DB2) so immediately
after a user enters information in DB2, I would like the data to be
pushed real time into the SQL Server 2000 tables. I thought the easiest
way is to have a DBLink to those SQL tables and insert the data inside
DB2 if it is possible!

Any help or suggestions on a solution would be greately appreciated.
Sam
Shashi Mannepalli - 16 Aug 2006 19:01 GMT
Yes  in DB2 UDB you can use

INFORMATION INTEGRATOR/FEDERATED DATABASES to accomplish this

1. Create wrapper

I think for SQL Server u have to use something like this

 CREATE WRAPPER odbc LIBRARY 'db2rcodbc.dll'

check the CREATE WRAPPER statement for further details.

2. Create Server

3. Create usermappings

4. Create Nicknames

cheers...
Shashi Mannepalli

> Hi,
>
[quoted text clipped - 9 lines]
> Any help or suggestions on a solution would be greately appreciated.
> Sam
Shashi Mannepalli - 16 Aug 2006 19:02 GMT
Once you set this setup.....u can use REPLICATION to accomplish the one
u are mentioning....

Shashi Mannepalli

> Yes  in DB2 UDB you can use
>
[quoted text clipped - 30 lines]
> > Any help or suggestions on a solution would be greately appreciated.
> > Sam
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.