No, but Query one is better, it will allow you to adapt to changes. If
someone adds a column to your table and you select *, all of a sudden all
your applications break as there are more columns than originally
inticipated. You can program to prevent this, but naming all the columns is
#1 self documenting, 2# safer.
"Walking on water and developing software from a specification are easy if
both are frozen."
Christopher R. Spence
Oracle DBA
Fuelspot
-----Original Message-----
Sent: Friday, May 25, 2001 5:01 PM
To: Multiple recipients of list ORACLE-L
Gurus,
Will there be any performance gain by going for query1 instead of query2.
Query1:
select col1,col2, col3,..col2n from tab;
Query2:
select * from tab;
Thanks,
SIva
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Valiveru, Siva
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Christopher Spence
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).