Search found 5 matches

by vg
Tue Dec 11, 2012 12:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: left join with between date condition
Replies: 5
Views: 4251

I need pass rows that saitsfy either of the two range date conditions ((A.date1 between B.date1 and B.date2) or (A.date2 between B.date1 and B.date2)).

if i use 2 range conditions in lookup its treating as ''AND''....but my requirement is to use ''OR''..please let know how to achice this...
by vg
Thu Dec 06, 2012 8:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: left join with between date condition
Replies: 5
Views: 4251

left join with between date condition

Hi, I need help in implementing following join logic. Select * from Table A Left outer join table B on A.column1 = B.column1 and ((A.date1 between B.date1 and B.date2) or (A.date2 between B.date1 and B.date2)) First I used a Join and then used filter after that for date condition, but it gives me a ...
by vg
Tue Sep 11, 2012 2:08 pm
Forum: General
Topic: userstatus not reading string containing backslashes
Replies: 4
Views: 2252

Thanks for your quick replay, unfortunately APT_OSL_PARAM_ESC_SQUOTE variable is not added in my project under user-defined environment variables, i requested my DataStage Administrator to add it, i hope he will :).
by vg
Tue Sep 11, 2012 11:42 am
Forum: General
Topic: userstatus not reading string containing backslashes
Replies: 4
Views: 2252

yes its userstatus issue ,it should look like select * from emp where empno=\'xxx\' but ended up like select * from emp where empno= i am using above sql(userstatus) as query(read methold-user defined sql ) for netezza enterprize stage.... is there any other escape char i can use insted of backslash...
by vg
Tue Sep 11, 2012 9:57 am
Forum: General
Topic: userstatus not reading string containing backslashes
Replies: 4
Views: 2252

userstatus not reading string containing backslashes

Hi , I have a job that retrieves a select statement (contains backslash) from a file and returns this value in a userstatus variable and passing this userstatus variable in next job as as user-defined SQL in netezza enterprize stage. problem is userstatus not reading compleate select statement conta...