【发布时间】:2015-01-25 08:54:33
【问题描述】:
我在存储过程中编写了如下条件:
IF (ISBN_in IN (SELECT ISBN FROM ADD_BOOK))
/*Checking whether ISBN_in value exists in ADD_BOOK table or not*/
THEN
UPDATE ADD_BOOK
SET TITLE=TITLE_in,
ADD_SUMMARY=Add_Summary_in,
AUTHOR=Author_in,
Published_Date=Published_Date_in,
PAGE_COUNT=Page_Count_in
WHERE
ISBN=ISBN_IN;
COMMIT;
END IF;
There, I'm seeing an error message as
Error(12,1): PL/SQL: Statement ignored
Error(12,16): PLS-00405: subquery not allowed in this context
请多多指教。
谢谢,
【问题讨论】:
标签: oracle