I am using cursors to insert data in a table because if a record fails I only want that record to be discarded and keep inserting the rest.
So I am using a cursor to retrieve the information.
Is there any way to insert all columns of a cursor at once and not selecting them one by one?
cursor c1 is
select a,b,c,d,e from ab where a = 'something';
begin
for var_c1 in c1 loop
begin
insert into ba (a,b,c,d,e)
values (var_c1.all);
-- instead of values (var_c1.a, var_c1.b, var_c1.c,var_c1.d, var_c1.e)
exception when others then continue;
end;
end;