what database are you using?
you can't truncate with a condition, that would be performing a delete.
If you partition your table by the column in question you could drop the partition which will probably be quicker that a delete if you have a huge table.
Search found 215 matches
- Tue May 08, 2007 3:00 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Truncating a table with a condition
- Replies: 3
- Views: 1638
- Mon May 07, 2007 10:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Current Row and Previous Row
- Replies: 6
- Views: 5436
Stage variables are processed in order, you can therefore store values from the previous record in them svPreviousValue = svCurrentValue svCurrentValue = input.field svValueHasChanged = If svCurrentValue = svPreviousValue Then 0 Else 1 svCounter = If svValueHasChanged Then svCounter + 1 Else svCount...
- Mon May 07, 2007 10:42 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning message in Oracle EE stage
- Replies: 4
- Views: 1724
- Mon May 07, 2007 4:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: IsValid and SetNull
- Replies: 12
- Views: 4940
Sorry that was lazy of me, I only ready your last question and didn't see that everything I said had already been discounted. I have used both IsValid and SetNull in a column derivation before, but I guess something must be different. One thing to try is to use APT_DISABLE_COMBINATION = 'True' in th...
- Mon May 07, 2007 4:16 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup stage
- Replies: 1
- Views: 697
Re: Lookup stage
My source is XML file and I am doing lookup to pull the ID joining the creation date but I need to get the max(ID) and when I am trying to use this User-defined query from RDMS stage its not working.................. SELECT Max(schema.tblname.DocumentID),schema.tblname.Created FROM schema.tblname W...
- Mon May 07, 2007 4:10 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Load/Sequencer Error
- Replies: 1
- Views: 871
- Mon May 07, 2007 4:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: IsValid and SetNull
- Replies: 12
- Views: 4940
- Mon May 07, 2007 4:04 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Lookup having two records
- Replies: 2
- Views: 1431
Are there only ever two records in table B ? Or are there a maximum number of these records? If so you can perform the join as you did, read out into a transformer, and using stage variable to hold the values flatten the structure out, writing the records into a hashed file with contact_id as the ke...
- Mon May 07, 2007 3:52 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Hardware Requirements for setting up the Server Environment
- Replies: 4
- Views: 1214
Re: Hardware Requirements for setting up the Server Environm
Hi, We have planned to move our platform from Server Edition to the Enterprise Edition and we are planning on the requirements needed for setting up the infrastructure for the PX 7.5 version on UNIX. We would like to hear some suggestions on what could be the needed parameter requirements for estab...
- Sun May 06, 2007 9:52 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sequential stage and wildcards in the Filter
- Replies: 8
- Views: 2742
DS 7.5.1a
Craig, (or anyone else)
did you find a solution to this? or only a work around? having the same problem as you had, very annoying!
did you find a solution to this? or only a work around? having the same problem as you had, very annoying!
- Sun May 06, 2007 3:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Return Value from the routine...
- Replies: 3
- Views: 3442
- Fri May 04, 2007 2:50 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Columnvalue in unix file truncated and rejected
- Replies: 5
- Views: 1789
i think the reason you are getting rejects is because although there are 99 characters in the field, the Euro signs are 2 bytes long and DataStage is counting the size of the field in bytes. I had a similar problem with fixed width files once, going through row merge stages it didn't work. Can't rem...
- Fri May 04, 2007 2:01 am
- Forum: General
- Topic: How to add entry in VOC file
- Replies: 9
- Views: 10582
- Fri May 04, 2007 1:48 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Columnvalue in unix file truncated and rejected
- Replies: 5
- Views: 1789
- Fri May 04, 2007 1:21 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Incorrect Conversion of non-Ascii characters..
- Replies: 1
- Views: 1365
You can tell if NLS is insalled by looking at your stages in Designer. There will be NLS tabs in there, I think one for input and one for output, but maybe just on the properties bit, don't have it installed here and it's been a while. If it's not installed you will have to re-run the installation a...