|
Don't use SQL in advance situations, What does this do:
???
(comments are locked)
|
|
It's just an insane join predicate. That is, you have a query joining in the table I hope that the schema and queries you are working with were automatically generated because they are definitely not hand baked with love. Thanks you gave it a good look. Obiviously I don't understand: " ACTPHY01 C WHERE C.B1LKNB=RPI8NS and C.B1HXCD=RPMBXU) > 0 " Is this a logical 0/1, true false ?
Oct 16 '09 at 12:01 PM
Mike Korrigan
(comments are locked)
|
|
Looks like this is for Oracle Yes because of || and substr
Oct 15 '09 at 09:36 AM
Madhivanan
The database is DB2
Oct 16 '09 at 11:58 AM
Mike Korrigan
This is for MS SQL Server
Nov 11 '09 at 06:16 AM
Madhivanan
Refer to FAQ http://ask.sqlteam.com/faq
Nov 11 '09 at 11:58 AM
Squirrel 1
(comments are locked)
|


If there's any way you can repost that with better formatting it may be easier for us to read.