Hi!
I'd like to code a "self join query" with IQueryDef.
I'm using 9.3 sp2.
The SQL query is somethig like this:
SELECT ID
FROM MY_TABLE a, MY_TABLE b
WHERE a.id = b.id
AND a.date_1 = b.date_2
I have problems to do it since I cannot use alias in QueryDef.
Any ideas? Thank you in advance!
I'd like to code a "self join query" with IQueryDef.
I'm using 9.3 sp2.
The SQL query is somethig like this:
SELECT ID
FROM MY_TABLE a, MY_TABLE b
WHERE a.id = b.id
AND a.date_1 = b.date_2
I have problems to do it since I cannot use alias in QueryDef.
Any ideas? Thank you in advance!