Search found 5 matches

by nguyenmk
Thu May 11, 2006 7:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting a datetime defines as varchar field to timestamp
Replies: 3
Views: 1475

I got 19 asterisk characters "*******************"

I think the problem is the date format which has dd-mon-yyyy and I don't know how to convert that to yyyy-mm-dd, the StringtoTimeStamp expects a format of yyyy-mm-dd for the date.


Thanks,
Michael
by nguyenmk
Wed May 10, 2006 2:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting a datetime defines as varchar field to timestamp
Replies: 3
Views: 1475

Converting a datetime defines as varchar field to timestamp

Hi, I have a datetime field defined as a varchar(20) and I need to convert it to a timestamp. The data coming in is from Teradata and is as follows: 10-MAY-2006 12:00:00 need to convert as 2006-05-10 12:00:00 I tried using StringToTimeStamp, but no luck. Any ideas how I can accomplish this? Thanks, ...
by nguyenmk
Fri May 05, 2006 10:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get current datetime in GMT
Replies: 3
Views: 1592

Brad,

I couldn't find any of the functions you mentioned in the buildops. I would like to use the function or transform in the transformer stage if they are available.

Thanks,

Michael
by nguyenmk
Fri May 05, 2006 7:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to get current datetime in GMT
Replies: 3
Views: 1592

How to get current datetime in GMT

Hi,

Is there a tranform in Parallel Server that does the same thing as DateCurrentGMTTime transform in Server? I need to get the currrent timestamp in GMT in Parallel Server.

Thanks.
by nguyenmk
Thu Apr 06, 2006 3:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using BEFORE SQL w/user-defined SQL query file with Teradata
Replies: 5
Views: 2172

Using BEFORE SQL w/user-defined SQL query file with Teradata

Hi, I'm trying to use the user-defined SQL query file in the BEFORE SQL tab with Teradata database (via ODBC). I have a DRS stage that calls the query file as I specifed in the SQL -> Before tab: FILE=/export/home/test.sql the test.sql has two delete statements with two semicolons at the end of each...