我想运行程序但是我看到ORA-01722问题我该如何解决这个问题呢?
create or replace
PROCEDURE INSERTQUESTION(
p_name IN QUESTION.NAME%TYPE,
p_tag IN QUESTION.TAG%TYPE,
p_money IN QUESTION.MONEY%TYPE,
p_explain IN QUESTION.EXPLAIN%TYPE,
p_img IN QUESTION.PHOTOID%TYPE,
p_mail IN USERS.MAIL%TYPE)
IS
BEGIN
INSERT INTO QUESTION ("NAME",
"CREATEDATE",
"TAG","STATUS",
"MONEY","PHOTOID","OWNID","EXPLAIN")
VALUES (p_name,CURRENT_DATE,p_tag,'T',p_money,p_mail,(SELECT ID FROM USERS WHERE MAIL=p_mail),p_explain);
COMMIT;
END;
这是我的开始程序评论:
begin
insertquestion('Debu','Connectionsss',32,'aeaea',125,'cerate');
end;