如何在 Oracle SQL*Plus 中显示 LOB 列的完整内容?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/122772/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 01:30:41  来源:igfitidea点击:

How do I display the full content of LOB column in Oracle SQL*Plus?

oracleblobsqlpluscloblob

提问by Anonymoose

When I try to display the contents of a LOB (large object) column in SQL*Plus, it is truncated. How do I display the whole thing?

当我尝试在 SQL*Plus 中显示 LOB(大对象)列的内容时,它被截断了。我如何显示整个内容?

回答by Anonymoose

SQL> set long 30000
SQL> show long
long 30000

回答by Kevin O'Donnell

You may also need:

您可能还需要:

SQL> set longchunksize 30000

Otherwise the LOB/CLOB will wrap.

否则 LOB/CLOB 将换行。