17,377
社区成员
发帖
与我相关
我的任务
分享
SQL> col name format a30; -- 这里的 name 要换成你的列名。
-- 调整一下列宽
SQL> create table test(id int, name varchar(50));
表已创建。
SQL> insert into test values(100, 'china');
已创建 1 行。
SQL> select * from test;
ID
----------
NAME
--------------------------------------------------------------------------------
100
china
SQL> col name format a30;
SQL> select * from test;
ID NAME
---------- ------------------------------
100 china
SQL> drop table test purge;
表已删除。
SQL>