Hello All. I have a report which queries off of two Oracle 8 tables. The tables are linked with an outer join.
SELECT
LICENSE_DATA.KEY,
LICENSE_DATA.DESCRIPTION,
USER_RIGHTS.USERID,
USER_RIGHTS.STARTED,
USER_RIGHTS.EXPIRED
FROM
LICENSE_DATA,
USER_RIGHTS
WHERE
LICENSE_DATA.KEY = USER_RIGHTS.KEY (+) AND
LICENSE_DATA.KEY = (?Param_Key) AND
USER_RIGHTS.STARTED < (?Param_Date) AND
USER_RIGHTS.EXPIRED >= (?Param_Date)
The problem I'm having is with the last two lines. When they are added, the query no longer returns as an outer join. In order to correct this those lines should read as..
USER_RIGHTS.STARTED (+) < (?Param_Date) AND
USER_RIGHTS.EXPIRED (+) >= (?Param_Date)
Unfortunately, Crystal doesn't seem to support this syntax. I get a DLL error. The query works if I run it in Oracle directly just not if I run it in Crystal. Does anyone have any advice for a work around? Any help would be great!
Thanks in advance,
CrystalVisualBOracle
SELECT
LICENSE_DATA.KEY,
LICENSE_DATA.DESCRIPTION,
USER_RIGHTS.USERID,
USER_RIGHTS.STARTED,
USER_RIGHTS.EXPIRED
FROM
LICENSE_DATA,
USER_RIGHTS
WHERE
LICENSE_DATA.KEY = USER_RIGHTS.KEY (+) AND
LICENSE_DATA.KEY = (?Param_Key) AND
USER_RIGHTS.STARTED < (?Param_Date) AND
USER_RIGHTS.EXPIRED >= (?Param_Date)
The problem I'm having is with the last two lines. When they are added, the query no longer returns as an outer join. In order to correct this those lines should read as..
USER_RIGHTS.STARTED (+) < (?Param_Date) AND
USER_RIGHTS.EXPIRED (+) >= (?Param_Date)
Unfortunately, Crystal doesn't seem to support this syntax. I get a DLL error. The query works if I run it in Oracle directly just not if I run it in Crystal. Does anyone have any advice for a work around? Any help would be great!
Thanks in advance,
CrystalVisualBOracle