请问以下Oracle存储过程有什么错误?
CREATE OR REPLACE PROCEDURE F_CREATE(PID NVARCHAr2(16), PNum INTEGER, PEmail NVARCHAr2(128), PTime DATE) AS BEGIN INSERT INTO F(ID, Num, Email, Time) VALUES(PID, PNum, PEmail, PTime); END;
请问以下Oracle存储过程有什么错误?
CREATE OR REPLACE PROCEDURE F_CREATE(PID NVARCHAr2(16), PNum INTEGER, PEmail NVARCHAr2(128), PTime DATE) AS BEGIN INSERT INTO F(ID, Num, Email, Time) VALUES(PID, PNum, PEmail, PTime); END;
有两个错误,改下就好了
1.由于你的参数是输入参数,所以不需要指定长度
2.那里是is,不是as