Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 query performance

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-04-15 : 08:42:17
writes "how is Select AttributeNames from table query is better from select * from table query
when we know the attributes to select in a query."

MichaelP
Jedi Yak

2489 Posts

Posted - 2002-04-15 : 10:00:00
There are two advantages to putting in all the field names:
Less fields = less data = faster data access
Query runs a bit faster because SQL doesn't have to look up the field list.


Go to Top of Page
   

- Advertisement -