![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
SQL Server 2000, SP4 We have a DB2 table where we want to extract data for only those fields that equal 'N'. What is the optimal way to set up DTS to move the data from a DB2 table to an Oracle table, where date fields get transformed from DB2 date type to Oracle date type, null date fields also get copied over, some columns get trimmed of leading and ending spaces, and for each row/record that comes over, DTS flips the flag back at the DB2 table from 'N' to 'Y' indicating the row has been processed? More specifically, we've been tasked to develop a means to move data from the AS/400 to Oracle and back again. Right now we are working on moving data from DB2 to Oracle. The 'N' flag in the DB2 table is to tell DTS that the data is ready to process. DTS establishes a connection to the databases, processes each record where the flag is set to 'N', and also flips the flag after each record is successfully moved over to 'Y'; that way if there is a glitch somewhere, say the server goes down in mid transfer, DTS can pick back up and only process the the remaining records that have a value of 'N'. [Allen, I combed through the messages and never did find your response to an earlier message I sent. Perhaps I've been the stupid user, but I'd appreciate if you would address this message. Thanks :-)] |
![]() |
| Thread Tools | |
| Display Modes | |
| |