看下面的触发器返回“遇到符号”文件结尾“在oracle中”错误
CREATE OR REPLACE TRIGGER TGR_DST AFTER INSERT ON ADMISSION FOR EACH ROW
DECLARE
P_hNO CHAR(10);
P_iNO CHAR(10);
P_ID INTEGER;
BEGIN
SELECT hNO,iNO INTO P_hNO,P_iNO FROM ADMISSION WHERE iNO IN (SELECT MAX(iNO) FROM ADMISSION );
SELECT MAX(ID)+1 INTO P_ID FROM Discharge;
INSERT INTO Discharge(ID,hNO,iNO,in_TIME) VALUES(P_ID,P_hNO,P_iNO,SYSDATE);
END