Search found 6797 matches
- Fri Mar 09, 2007 7:46 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Error while Calling SP from OCI Stage
- Replies: 18
- Views: 3538
- Fri Mar 09, 2007 7:42 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to capture the file name and row number
- Replies: 7
- Views: 1699
- Fri Mar 09, 2007 7:38 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Get DENSE RANK in a grouped data
- Replies: 26
- Views: 8487
- Fri Mar 09, 2007 7:35 am
- Forum: General
- Topic: Median Calculation
- Replies: 36
- Views: 10179
- Thu Mar 08, 2007 10:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: auto clear log
- Replies: 17
- Views: 3770
- Thu Mar 08, 2007 10:00 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: auto clear log
- Replies: 17
- Views: 3770
- Thu Mar 08, 2007 7:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Warning
- Replies: 34
- Views: 8409
- Thu Mar 08, 2007 7:27 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Get DENSE RANK in a grouped data
- Replies: 26
- Views: 8487
- Thu Mar 08, 2007 4:11 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Get DENSE RANK in a grouped data
- Replies: 26
- Views: 8487
- Thu Mar 08, 2007 3:52 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Garbage data
- Replies: 6
- Views: 1169
- Thu Mar 08, 2007 3:43 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Garbage data
- Replies: 6
- Views: 1169
- Thu Mar 08, 2007 3:12 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: splitting a string into three fields
- Replies: 33
- Views: 5453
- Thu Mar 08, 2007 3:02 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Trunc in datastage
- Replies: 3
- Views: 2817
Yes, sure
where x is the length of the date part.
You can also put TRUNC() in the sql select. I am doing the exact same thing in a few tables at my site.
Code: Select all
in.Date[1,x]
OR
LEFT(in.Date,x)
OR
Field(in.Date, " ",1)
where x is the length of the date part.
You can also put TRUNC() in the sql select. I am doing the exact same thing in a few tables at my site.
- Thu Mar 08, 2007 3:00 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Get DENSE RANK in a grouped data
- Replies: 26
- Views: 8487
- Thu Mar 08, 2007 2:44 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Get DENSE RANK in a grouped data
- Replies: 26
- Views: 8487
Well you will have to do a column by column check then. Compare column 1, if they are same, check scond column, if same check third, if same, check the 5th column. Now if the 5th column is same, refresh the rank to 1, if its different, increment the rank. If any of the first three columns are differ...