The select statement returns more than one row. Try doing a Cursor For loop so that you can insert all the records return by the sql statment.
ex.
for rec in (select * from tenants)
loop
--
-- your insert statement here.
--
end loop;
|
Results 1 to 5 of 5
Threaded View
|
Click Here to Expand Forum to Full Width |