I know the message "exact fetch returns more than requested number of rows" typically means that I should only be getting one record back but it is returning more.
When I run the following code through my proc I get the exact fetch message, but when I run just the select it returns only one record. Any help as to what is on the go would be appreciated.
When I run the following code through my proc I get the exact fetch message, but when I run just the select it returns only one record. Any help as to what is on the go would be appreciated.
Code:
SELECT DISTINCT A.ADJ_SHELTER_AMT
INTO V_ADJ_SHELTER_AMT
FROM accommod a, res_address r, "CASE" c
WHERE c.RES_ADDRESS_ID = r.RES_ADDRESS_ID
AND r.RES_ADDRESS_ID = a.RES_ADDRESS_ID
AND a.DATE_END IS NULL
AND C.CASE_ID = 56282