create table book (
book_id number (3) NOT NULL,
book_name SYS.ANYDATASET NOT NULL,
student_student_id number(5) NOT NULL); #primary key
insert into book (book_id, book_name, student_student_id) values ('768', SYS.ANYDATAconvertVarchar2('harry potter'), '58765');
I am unsure how to use sys.anydataset. I tried using "));" at the end of 58765 but it shows an error "ORA-00933: SQL command not properly ended, and then decided to do a single bracket and it shows 'ORA-00932: inconsistent datatypes: expected ANYDATA got ANYDATA. If anyone can tell me what that means and how to resolve this.