In Oracle, you need to use a different approach:
DECLARE
usel1 <specify here the data type for the usel>;
BEGIN
SELECT a.uzel INTO usel1
FROM user_setup.menu a
WHERE a.vetka <> a.uzel AND a.usel = uzel
AND a.vetka IN (SELECT vetka FROM user_setup.param_menu))
EXCEPTION
WHEN NO_DATA_FOUND THEN
END;
source
share