sql如何设置列宽
点击右边红色标题查看本文完整版:sql如何设置列宽sql如何设置列宽SQL code
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->SQL> select dbid from v$database; DBID----------1220505797SQL> col dbid format a10;SQL> select dbid from v$database; DBID----------##########SQL>
? 怎么显示的全是#啊?
------解决方法--------------------
有可能是你设置的列的宽度有点小。你把他再设置的大一点看看。
col dbid format A30;
------解决方法--------------------
貌似这个参数a10是为字符型字段设置的,数值型的应该用
format '9999999999';
------解决方法--------------------
?