Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is difference between count(*) and count(1)

Status
Not open for further replies.

naren044

Programmer
May 1, 2008
7
IN
What is difference between count(*) and count(1)
 
Functionally they are identical. Depending on the implementation (the RDBMS and version) the one or the other may be a trfile quicker.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top