我是Oracle新手,在使用存儲過程插入240個字符時遇到問題。下面是存儲過程:無法使用存儲過程將240個字符插入到Oracle DB中
procedure add_user_note(p_user_seq in varchar2,
p_author in varchar2,
p_note_text in varchar2,
o_return_code out integer) IS
BEGIN
o_return_code := RC_SUCCESS;
INSERT INTO user_notes
(sss_user_object_id, note_date, note_text, note_author)
VALUES
(p_user_seq, SysDate, p_note_text, p_author);
commit;
exception
when others then
o_return_code := SQLCODE;
END;
使用這個程序,我可以插入238個字符,但我的要求是插入240個字符到參數p_note_text。任何幫助表示讚賞。
[編輯]你的問題,並添加'user_notes'的'create table'語句。 –
note_text列的大小是多少? –