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 -> Re: Selecting out certain columns

Re: Selecting out certain columns

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Thu, 02 May 2002 19:45:43 +0100
Message-ID: <3CD18957.7D5@yahoo.com>


Stephen wrote:
>
> Let's say you have a table with 50 columns and you want to retrieve
> data that lists only 49 of those columns. Is there any easy way to do
> this without typing: select column1, column2,...column49 from table.
> So basically is there a way to select out certain columns in your
> statement while retrieving the rest of the columns?
>
> Thanks

In SQL Plus

SQL> col X nopri
SQL> select * from ...

hth
connor

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Thu May 02 2002 - 13:45:43 CDT

Original text of this message

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