plsql выберите Intop
SELECT
select_list
INTO
variable_list
FROM
table_name
WHERE
condition;
SteveMcT
SELECT
select_list
INTO
variable_list
FROM
table_name
WHERE
condition;