My approach that I tried was,
Write Method : Upsert
Upsert Mode : Auto-generated Update & Insert
Insert SQL : <auto-generated Insert SQL>
Update SQL : <auto-generated Update SQL>
Search found 165 matches
- Tue Apr 01, 2008 7:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Only inserts through Oracle Enterprise stage
- Replies: 18
- Views: 7537
- Fri Mar 28, 2008 8:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Enterprise stage - Load and Upsert
- Replies: 10
- Views: 6331
Re: Oracle Enterprise stage - Load and Upsert
what value did you assign to $APT_ORACLE_LOAD_OPTIONS? Is that table partitioned? Are there any constraints/indexes on that table and how did you maintain the indexes/constraints during loading? How many records are to be loaded and how many records exist in that table? ============================...
- Thu Mar 27, 2008 3:56 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Enterprise stage - Load and Upsert
- Replies: 10
- Views: 6331
- Thu Mar 27, 2008 1:22 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Enterprise stage - Load and Upsert
- Replies: 10
- Views: 6331
Oracle Enterprise stage - Load and Upsert
Hi, We have a process were we would need to load data in range of a million into an Oracle table. We started using the Write Method as Load in the Oracle Enterprise stage as default, thinking that this should be the fastest as it uses Oracle loader concept. But, just by chance we gave a try with Wri...
- Thu Mar 27, 2008 9:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Only inserts through Oracle Enterprise stage
- Replies: 18
- Views: 7537
Hi, Yeah, I get your point, but... If so see, there were previous replies in this same post that, the SQL in Update placeholder would get executed only if the SQL in Insert placeholder fails. As per this, in out case all incoming rows would get inserted through the Insert SQL and the Update SQL will...
- Wed Mar 26, 2008 1:42 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Only inserts through Oracle Enterprise stage
- Replies: 18
- Views: 7537
The user-defined SQL is loading data from DS job only. It just uses a Oracle sequence in it to generate a sequence number. Hope we can use the ODBC stage only if we have an ODBC connection. But we do not have a ODBC connection to the Oracle database. But, I think we could try using DRS stage. DRS st...
- Tue Mar 25, 2008 9:06 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Only inserts through Oracle Enterprise stage
- Replies: 18
- Views: 7537
- Tue Mar 25, 2008 9:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Joining / doing lookup without a key
- Replies: 10
- Views: 2720
Since the Parameter data is very few, you can use a Server job to read the data from Table, and using transformer, UtilityRunJob can be used to call the job and pass the extracted value to the job as ... I would like to clarify on what you are saying. You mean to have a separate Server job to run t...
- Mon Mar 24, 2008 3:48 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Only inserts through Oracle Enterprise stage
- Replies: 18
- Views: 7537
- Mon Mar 24, 2008 1:11 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Only inserts through Oracle Enterprise stage
- Replies: 18
- Views: 7537
- Mon Mar 24, 2008 10:20 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Only inserts through Oracle Enterprise stage
- Replies: 18
- Views: 7537
- Mon Mar 24, 2008 9:37 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Only inserts through Oracle Enterprise stage
- Replies: 18
- Views: 7537
Only inserts through Oracle Enterprise stage
Hi, We are in process of migrating some of the jobs from Server to Parallel. We supply a user-defined SQL to do an insert in the server job's Oracle OCI stage. Now in a parallel job's, Oracle Enterprise stage, when we select the Write Method to be "Upsert", we are supposed to give 2 SQLs, ...
- Mon Mar 24, 2008 9:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Joining / doing lookup without a key
- Replies: 10
- Views: 2720
- Fri Mar 21, 2008 7:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Joining / doing lookup without a key
- Replies: 10
- Views: 2720
No, that cannot be done. The column we fetch from the Reference table is an ID column. So, the value would be different / change when migrated to different enviornments. Also, we have to do a similar kind of ID column fetching from different reference tables in different jobs. So, if we hard code in...
- Thu Mar 20, 2008 8:10 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Joining / doing lookup without a key
- Replies: 10
- Views: 2720