0
A
回答
0
怎么样做下面的事情。试试这个,并检查它是否适合你。
DECLARE
dummy clob;
dummy2 clob;
BEGIN
dummy := empty_clob();
IF dummy = empty_clob() THEN
dummy2 := dummy;
END IF;
END;
编辑:请看一个例子。希望这可以帮助。
declare
l_c clob := 'Hello World!';
l_a number;
begin
l_a:=length(l_c);
dbms_output.put_line('The original clob = *' || l_c || '*');
--Erase all the data in the clob. Emptying it.
dbms_lob.erase(l_c, l_a);
dbms_output.put_line('The clob modified now = *' || l_c || '*');
end;
/
+0
也尝试过这种方式。它不起作用。 –
1
这应该解决的问题:
v_clob := '';
0
我不知道这是正确的方式,但我不得不初始化CLOB在每次循环迭代的开始。这对我有效:
Dbms_Lob.CreateTemporary(v_clob,TRUE);
相关问题
- 1. Heredoc <<<或<<?
- 2. git“<<<<<<< HEAD”
- 3. “<<<<<<< HEAD”模板
- 4. 使用>>,>,> |,||,| <,<,<<,<<
- 5. operator <<:std :: cout << i <<(i << 1);
- 6. << <<超载
- 7. github增加<<<<<<< HEAD
- 8. 'std :: operator <<'operator <<'不匹配'std :: operator <<
- 9. 使用<< END
- 10. std :: cout << x;和std :: cout << x << std :: endl;?
- 11. 清除applicationIconBadgeNumber不删除,设置</p> <pre><code>application.applicationIconBadgeNumber = -1 </code></pre> 上<code>applicationDidBecomeActive</code><p>或<code>applicationWillEnterForeground</code>,让我来清除徽章数量,而不从移除通知不工作
- 12. 的Rails搞乱我的代码以“<<<<<<< HEAD”
- 13. 什么是我的档案中的“<<<<<<< head”?
- 14. “<<”用Verilog
- 15. 使用<<< CON在PHP中
- 16. PHP使用$ var = <<< EOM
- 17. 什么意思的符号在java中“<<<”“<< =”“<<”
- 18. 为什么不使用<< EOF代替cat << EOF?
- 19. 尝试使用NSUInteger与枚举(<<)
- 20. PHP操作<<<
- 21. 怎么了SVN把“<<<<<<<.mine”遍布整个地方?
- 22. THREE.Camera.prototype.lookAt</ <() -</ <是什么意思?
- 23. <%$,<%@,<%=,<%#...这是怎么回事?
- 24. 的MySQL/PHP:<code>id</code>,<code>name</code>,<code>category</code>和一个<code>ratings</code>表列:<code>id</code>,<code>item</code>,<code>rating</code>如何使用JOIN语句
- 25. PHP:<<< VS ob_start
- 26. < - ,[[< - ,$ < - 和:=与环境
- 27. PHP表达<<< EOB
- 28. HTML标记:<<< HTML
- 29. print <<< HTML in php?
- 30. Asp.net:使用的<%#或<%
假设你打开clob,你是否在释放它之前关闭它? –