Can you be more specific as to what "the value fetched is not a unique value" means, please?
Also, SQL Server does in fact have SEQUENCE objects unless your version is older. You could possibly also use an IDENTITY column and save all this.
Search found 42189 matches
- Tue Jun 20, 2017 5:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Stored Procedure from Datastage not working as expected
- Replies: 2
- Views: 2284
- Mon Jun 19, 2017 7:13 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date function in transformer stage
- Replies: 7
- Views: 3422
- Mon Jun 19, 2017 3:06 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Enable TLS1.2 on java 1.6
- Replies: 5
- Views: 5055
- Mon Jun 19, 2017 3:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date function in transformer stage
- Replies: 7
- Views: 3422
- Mon Jun 19, 2017 2:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date function in transformer stage
- Replies: 7
- Views: 3422
- Mon Jun 19, 2017 1:17 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date function in transformer stage
- Replies: 7
- Views: 3422
- Mon Jun 19, 2017 12:30 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Enable TLS1.2 on java 1.6
- Replies: 5
- Views: 5055
- Mon Jun 19, 2017 7:20 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to use Power (Pwr) function
- Replies: 16
- Views: 6363
- Mon Jun 19, 2017 7:16 am
- Forum: General
- Topic: Password showing in log
- Replies: 4
- Views: 1606
- Mon Jun 19, 2017 7:14 am
- Forum: General
- Topic: Password showing in log
- Replies: 4
- Views: 1606
- Sun Jun 18, 2017 7:12 am
- Forum: General
- Topic: While connecting to Administrator error
- Replies: 3
- Views: 1471
- Fri Jun 16, 2017 9:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Extract time as an Integer from a Timestamp
- Replies: 9
- Views: 4154
- Thu Jun 15, 2017 9:09 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Extract time as an Integer from a Timestamp
- Replies: 9
- Views: 4154
- Thu Jun 15, 2017 6:42 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Fatal Error: Attempt to setIsNull() on the accessor interfac
- Replies: 13
- Views: 6216
- Wed Jun 14, 2017 12:48 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Fatal Error: Attempt to setIsNull() on the accessor interfac
- Replies: 13
- Views: 6216
As Arnd mentioned in the linked thread, the use of the CAST function in your source SQL creates (as far as DataStage is concerned) a new column that is nullable. It doesn't mean you have null values in the data, just that the job thinks there could be, which from what I recall triggers the error whe...