Possible Duplicate:
Which is faster/best? SELECT * or SELECT column1, colum2, column3, etc.
In some code I'm reading, all SELECT statements are using a list of field names where all fields in the table are being selected. For example, with a table called Book and fields Author, PublishDate, Pages and Price, the select statement looks like this:
SELECT Author, PublishDate, Pages, Price FROM Book;
All select statements in the application are like this which makes me wonder if there is an increase in performance doing that versus:
SELECT * FROM Book;
I flipped through a MySql book but didn't see anything related to this. Given the maintenance overhead of changing the SELECT statement every time a field gets added, I was wondering about changing things to the shorter syntax. Will that introduce performance issues? Could this be security related?