开发者

Why is sql plus not including all of the data from my column with spool

I am using SQLPLUS to spool data out to a file, but not all of the data is being returned? I am using the dbms_metadata.get_ddl function and it is only returning part of the table definition to the file....where I can see the full definition in the query output.

I was setting linesize = 8000 in the spool set?

SQL:

Select dbms_metatdata.get_ddl('TABLE',at.table_name)
From all_tables at
Where at.owner = 'MYTEST';

Outputting:

CREATE TABLE "MYTEST"."TESTTABLE3"
(   "ID" NUMBER(10,0),
"DESCRIPTION" V

CREATE TABLE "MYTEST"."MYPARENT"
(   "PARENT_ID" N开发者_运维问答UMBER(10,0) NOT NULL ENAB

Totally truncating the output?


Try set long 1000000000

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜