当 DbUp 执行以下 SQL 脚本时,我收到如下所示的错误:
CREATE OR REPLACE PROCEDURE INVOICE_DELETE
(PAR_INVOICE_ID IN NUMBER)
AS
BEGIN
DELETE FROM INVOICE_SECT_ACCOUNTING_DATA
WHERE INVOICE_ID = PAR_INVOICE_ID;
DELETE FROM INVOICE
WHERE INVOICE_ID = PAR_INVOICE_ID;
COMMIT;
END INVOICE_DELETE;
甲骨文错误代码:1;号码-2147467259;消息:904
Oracle.ManagedDataAccess.Client.OracleException (0x80004005):
ORA-00904:“PAR_INVOICE_ID”:niepoprawny identyfikator