DotNetDunce
Programmer
Hi! I am a newbie to SSRS am using it to connect to an Oracle database. Until this point I've had no problems, but now I am setting up a dataset with a couple of subqueries and I am now getting this error: ORA-01008: not all variables bound. What do I need to do to get this to work? Here is my query:
Thanks in advance for your help!
Code:
SELECT LOCATION_DESC
FROM PMC_LOCATIONS
WHERE LOCATION_ID = (SELECT LOCATION_ID
FROM PMC_LOCATIONS WHERE DEPOT_FLAG = 'Y' CONNECT BY LOCATION_ID IN (PRIOR PARENT_LOCATION_ID) START WITH LOCATION_ID = (SELECT LOCATION_ID FROM PMC_EQUIPMENT
WHERE EQUIPMENT_ID = :EquipID))
Thanks in advance for your help!