Search found 10 matches

by admiral1969
Sun Jun 01, 2008 8:58 am
Forum: General
Topic: Transfer Data Dynamically
Replies: 2
Views: 1692

Transfer Data Dynamically

I need to transfer every day near 200 tables from SQL SERVER to ORACLE incrementally. For make the process automatically I need to create buffer table by parameter of table name with incremental data from SQL SERVER on ORACLE and then make DELETE-INSERT to the main table. There is no problem execute...
by admiral1969
Thu Mar 20, 2008 3:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multipe Sql Commands
Replies: 8
Views: 3702

You can do it in before sql section this way:
Declare
Begin
SQL statement;
SQL statement;
SQL statement;
...
End;
by admiral1969
Wed Mar 05, 2008 7:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: IsValid Function
Replies: 16
Views: 8094

And what about elementary logic?
Oracle, for example, can't convert this string to date by to_date function and sends it to exceptions. That is a right action because "0?002" or "00222" are junk but never valid date :)
by admiral1969
Wed Mar 05, 2008 6:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: IsValid Function
Replies: 16
Views: 8094

So as your mind strings "00222" and "0?002" are a valid dates? :)
No comments...
by admiral1969
Wed Mar 05, 2008 6:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: IsValid Function
Replies: 16
Views: 8094

Your explanation didn't explain how "00222" converted to date "09 Aug 2000"
by admiral1969
Wed Mar 05, 2008 4:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: IsValid Function
Replies: 16
Views: 8094

But how DS convert "00222" to date "09 Aug 2000"?
And how DS interprets "?" in the string "0?002"?
by admiral1969
Wed Mar 05, 2008 3:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: IsValid Function
Replies: 16
Views: 8094

Here is a part of IsValid function which checking if a date is valid: Date: * Date in current locale format or in ISO 8601 format (YYYY-MM-DD) Test1 = Iconv(argTestValue, "D") ; * current locale Status1 = Status() Test2 = Iconv(argTestValue, "DYMD") Status2 = Status() Ans = (Stat...
by admiral1969
Tue Mar 04, 2008 4:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: newline character
Replies: 13
Views: 5968

U r wellcome :)
by admiral1969
Tue Mar 04, 2008 4:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: newline character
Replies: 13
Views: 5968

In UNIX you need only LF - char(10).
by admiral1969
Tue Mar 04, 2008 3:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: newline character
Replies: 13
Views: 5968

Hi, use the char() function which generates an ASCII character from its numeric code value. Then numeric value of LF is 10 and CR is 13.
So concatenate: "your text" : char(13) : char(10) : <input field>.