![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a query that runs fine with SQL Server but gives me an exception with DB2 |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hi, I have a query that runs fine with SQL Server but gives me an exception with DB2 Part of the query using join operator and the ON clause contains subquery. The exception I am getting is the following: An ON clause associated with a JOIN operator or in a MERGE statement is not valid for one of the following reasons. * The ON clause cannot include any subqueries. ..... Should I re-write the query for DB2 that would be different in this case from what I am using with SQL Server or there is another way to do it? That is what the message is saying, yes. |
![]() |
| Thread Tools | |
| Display Modes | |
| |