Search found 23 matches
- Wed Jun 18, 2003 8:42 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Transform multiple columns into multiple records
- Replies: 2
- Views: 1333
Transform multiple columns into multiple records
Scenario is as follows: Old Access DB schema COL_NAME DATA_TYPE 'HAIR' Yes/No 'FACE' Yes/No 'LIP' Yes/No 'ORAL' Yes/No 'ID' (PK) Text New database design schema: COL_NAME DATA_TYPE 'ID' VarChar (PK) 'PRODUCT_TYPE' VarChar (PK) Question: How can I check the 'Yes' columns from the old schema and inser...
- Wed Jun 18, 2003 8:03 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date comparison
- Replies: 6
- Views: 1643
Hi Ray, My apologies. Will post the second qn on a new thread. Can you kindly advise regarding date comparison query first? With regards to the routine you advised me to write, I am converting from a Access DB and the type is Date/Time, think that's why Iconv was not successful. In this case, how ca...
- Wed Jun 18, 2003 2:13 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date comparison
- Replies: 6
- Views: 1643
Hi both, Thanks for the info. It is definitely because of the data like what Vincent mentioned. I am converting from a Access DB and the type is Date/Time, think that's why Iconv was not successful. In this case, how can I convert it into a string format?? I checked out the built-in routines such as...
- Tue Jun 17, 2003 9:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date comparison
- Replies: 6
- Views: 1643
Date comparison
Trying to do a date comparison here. Applied the following code but works the other way round: if (Iconv(Input.InputDate, "D/MDY[2,2,4]") > Iconv("07/01/2001", "D/MDY[2,2,4]")) then "A" else "B" The records with input date later than 1st July 2001 st...
- Wed Apr 30, 2003 3:12 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Inserting sysdate into Timestamp field
- Replies: 7
- Views: 2702
- Mon Apr 28, 2003 1:50 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Inserting sysdate into Timestamp field
- Replies: 7
- Views: 2702
Inserting sysdate into Timestamp field
Newbie here. Trying to set sysdate value in the one of the columns in transformer stage for loading into Oracle9i DB. The destination column is in Timestamp type. Which function/system variable should I use? I have tried the following: @DATE, Date(), TimeDate(). All of which returns a string literal...
- Wed Apr 16, 2003 7:56 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Using DataStage for conversion of chinese char
- Replies: 3
- Views: 1782
- Wed Apr 16, 2003 7:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Using DataStage for conversion of chinese char
- Replies: 3
- Views: 1782
Using DataStage for conversion of chinese char
I am trying to transform and convert a set of data from MS Access to Oracle9i. The data contains chinese characters. Seen from one of the posting here that I should use set NLS map to BIG5 or GB2312, tried both but did not work for me. I was not able to view the source data. All the chinese characte...