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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Difference between "SELECT *" and "SELECT COLUMN1, ..., COLUMNN"

Re: Difference between "SELECT *" and "SELECT COLUMN1, ..., COLUMNN"

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: 29 Aug 2001 08:48:01 -0700
Message-ID: <9mj2rh01ebv@drn.newsguy.com>


In article <4M6j7.17818$Z2.228496_at_nnrp1.uunet.ca>, "Brian says...
>
>Hi,
>
>I was wondering what could cause differences between doing a "SELECT *" vs
>doing "SELECT COLUMN1, ..." (other than efficiency)
>
>I am having a problem where if I execute a query using "SELECT *" I don't
>have any records returned even though I know there should be. If I change it
>to "SELECT COLUMN1, etc" the record is returned successfuly. There are no
>errors or warnings returned in the first case. What could be causing the
>first select to fail?
>
>Thanks
>
>
>

what environment is this happening in? does this happen in sqlplus? if so -- can you do a simple cut/paste of it?

--
Thomas Kyte (tkyte@us.oracle.com)             http://asktom.oracle.com/ 
Expert one on one Oracle, programming techniques and solutions for Oracle.
http://www.amazon.com/exec/obidos/ASIN/1861004826/  
Opinions are mine and do not necessarily reflect those of Oracle Corp 
Received on Wed Aug 29 2001 - 10:48:01 CDT

Original text of this message

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