CT 15
CT 15
2.
4.
CREATE OR REPLACE PROCEDURE book_latestedition(
in_edition IN book.edition%TYPE
)
IS
BEGIN
UPDATE book
SET edition ='40'
WHERE edition= in_edition;
END;
begin
book_latestedition('10');
end
5.declare
book_rec book%rowtype;
begin
select * into book_rec from book
where b_id='111';
dbms_output.put_line(book_rec.b_name);
end
6.