I can't use to_date or to_char in datastage, so how can I write it. I appreciate any inputDSguru2B wrote:Use simple logical operators >,<,= etc. Also for date comparisons, either convert it in YYYY-MM-DD format or to internal format.
Search found 7 matches
- Tue Mar 27, 2007 10:44 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: how to select date
- Replies: 3
- Views: 936
- Tue Mar 27, 2007 10:28 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: how to select date
- Replies: 3
- Views: 936
how to select date
Hi,
In transformer I am applying logic where I have to select date between
(for example:1/1/2000 and 12/31/2000). Can anyone please help me how to write this date logic in datastage? I am new to all of this.
Thanks
In transformer I am applying logic where I have to select date between
(for example:1/1/2000 and 12/31/2000). Can anyone please help me how to write this date logic in datastage? I am new to all of this.
Thanks
- Thu Mar 22, 2007 10:12 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Between function
- Replies: 3
- Views: 1259
Between function
Is there any BETWEEN function in datastage like we have in oracle. If not, what can I use for between.
- Wed Dec 13, 2006 11:46 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: date conversion
- Replies: 3
- Views: 1202
date conversion
Hi,
I am trying to load data into table.
source data for date is 1/1/2007
target table date format is 1-jan-07
how can i solve this.
Thanks
I am trying to load data into table.
source data for date is 1/1/2007
target table date format is 1-jan-07
how can i solve this.
Thanks
- Tue Dec 12, 2006 3:01 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: trying to truncate the string
- Replies: 9
- Views: 3529
- Tue Dec 12, 2006 11:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: trying to truncate the string
- Replies: 9
- Views: 3529
- Tue Dec 12, 2006 11:23 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: trying to truncate the string
- Replies: 9
- Views: 3529
trying to truncate the string
Hi,
I am trying to truncate part of the string. This is the raw data.
1/1/2007 0:00:00
I only need date from this. How can i extract only the date.
I used Left function, not working. Is there any truncate function in datastage that I can use.
Thanks
I am trying to truncate part of the string. This is the raw data.
1/1/2007 0:00:00
I only need date from this. How can i extract only the date.
I used Left function, not working. Is there any truncate function in datastage that I can use.
Thanks