标签:style c ext a int string
如何往clob类型中插入一个超过10000 bytes 的字符串
You‘ll have to assign the value to a variable & use the variable to insert the data
DECLARE
v_long_text CLOB;
BEGIN
v_long_text := ‘your long string of text‘;
INSERT INTO table
VALUES (1,
v_long_text);
END;
To make it clear: there are limits set to character strings:
you cannot have a string literal over
4000 bytes in SQL
32k in PLSQL
If you want to go above this, you‘ll have to use bind variables.
如何往clob类型中插入一个超过10000 bytes 的字符串,布布扣,bubuko.com
如何往clob类型中插入一个超过10000 bytes 的字符串
标签:style c ext a int string
原文地址:http://blog.csdn.net/ziwen00/article/details/26375365