Quote:
Originally Posted by db2girl
Does the query work if you execute it from the command line? Try qualifying tables with the schema name.
|
Yup sorry should have mentioned that, yes it works.
If I qualify the schema name (as I should have done in the code snip, sorry) I can execute the db2advis up to the point of the subquery
.....
OK so I solved it...... I don't think I've seen this before but the subquery needed a schema qualification in the join (but only in db2advis)! o_0
a la
q.assetnum=schema1.asset.parent
Looks funny to you? Problem solved at least.....