Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Setting for default column width?

Setting for default column width?

From: vlad <bulk_at_sfatcu.com>
Date: Fri, 17 Jan 2003 06:41:32 GMT
Message-ID: <wANV9.17741$kH3.2941@sccrnsc03>


Hello. Is there in Oracle's tool SQL*Plus a setting that sets all columns to be by default no more than a certain number of characters long? I am aware of the COLUMN command, but that doesn't work very well for me, since it has to be specified for each column of a query. It's really bugging me, 'cause this feature is available in Microsoft's Query Analyzer and it really helps to quickly take a look at a table's data without reading through unreadable wraps.

More explicitly, I would like something that could do this for every column of every result set returned by SQL*Plus: COLUMN COUNTRY_NAME FORMAT A10 Now select data cut off at 10th character, with no wrapping: SET WRAP OFF
SELECT * FROM HR.COUNTRIES; Looking at the first 10 characters of each column would give me a good idea of the data in that row.

vlad Received on Fri Jan 17 2003 - 00:41:32 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US