Best Practice to fetch SQL Server data and Insert into Oracle Tables

Hello,

I want to read sqlserver data everry half an hour and write into oracle tables ( in two different databases). What is the best practice for doing this?

We do not have any database dblinks from oracle to sqlserver and vice versa.

Any help is highly appreciable?

Thanks

[306 byte] By [ponica] at [2007-11-27 5:39:36]
# 1

Well, that's easy:

use a TimerTask to do the following every half an hour:

- open a connection to sql server

- open two connections to the oracle databases

- for each row you read from the sql server, do the inserts into the oracle databases

- commit

- close all connections

zincteapota at 2007-7-12 15:14:58 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...