Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

I wrote the following PL/SQl block to gather 2 columns (Make, Model) from one table

I wrote the following PL/SQl block to gather 2 columns (Make, Model) from one table (OLTP_VEHICLES).

DECLARE
2 CURSOR descrips
3 IS
4 SELECT make, model
5 FROM oltp_vehicles;
6 veh descrips%ROWTYPE;
7 BEGIN
8 OPEN descrips;
9 FETCH descrips INTO veh;
10 CLOSE descrips;
11 END;
12 /

How do I use a cursor in a loop to insert the results into another column (“Description”) in another table (VEHICLES)?

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"