How to find bad condition in a complex query
I have a complex query returns me 0 rows instead of about 3000 rows.
This query contains several sub-select and multiple joins between tables with multiple filters and predicats.
I am looking for a simple method to find the condition is not satisfied that prevents my having my 3000 rows ?
I thought to trace any query ? Your opinion? Any idea ?
NB: Statistics are not up to date.
Thank you.
GD.