kondakindi
IS-IT--Management
Hi,
I have one row data in %rowtype .and when in insert the values in that rowtype it says column not allowed here: the following is the example
rec books%rowtype;
select * into rec from books where bno='8888';
insert into book_archive values
(rec.bno,rec.title,recauthor and so on...);
all theses fields are same
infact the rowtype is of the table in which i am making entry.....
Could u let me know where is the problem from the above rough syntax.
Thanks
I have one row data in %rowtype .and when in insert the values in that rowtype it says column not allowed here: the following is the example
rec books%rowtype;
select * into rec from books where bno='8888';
insert into book_archive values
(rec.bno,rec.title,recauthor and so on...);
all theses fields are same
infact the rowtype is of the table in which i am making entry.....
Could u let me know where is the problem from the above rough syntax.
Thanks