Tell me more ×
Code Review Stack Exchange is a question and answer site for peer programmer code reviews. It's 100% free, no registration required.

Only the following statement worked rather than straight query or stored procedure for me for storing string that has 4000 and more characters. But why ?

declare tempVal varchar2(32767) := 'long string';
begin 
update FMS_K_OFFICEWISE_LETTER set FKOL_LETTER_BODY=tempVal
where FKOL_OFFICEWISE_LETTER_ID=60; 
end;

Is it always we should do for storing string of 4000 characters and more ?

The data type of FMS_K_OFFICEWISE_LETTER is actually in CLOB.

share|improve this question

1 Answer

Why not declare it as a CLOB, or better yet as:

FMS_K_OFFICEWISE_LETTER.FKOL_LETTER_BODY%Type;
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.