If you use PL / SQL, then selecting a column using select-intowill throw an exception too_many_rowsif more than one row is returned:
declare
var table.column%type;
begin
select column
into var
from table
where ...;
end;
If you want to do this simply using SQL, you can do something like:
select *
from
(select s.*, count(*) over () c
from
(select *
from table
where ...
and rownum <= 2
) s
)
where c = 1
UPDATE
DazzaL , rownum <= 2 , 2 . , .