Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Sql Performance
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: SValiveru_at_ea.com
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: ListGuru_at_fatcity.com (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).
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: ListGuru_at_fatcity.com (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). Received on Tue May 29 2001 - 13:56:44 CDT
![]() |
![]() |