|
Adam is right, and you should give him talkupation for it.
Question for the A man, though. I've only ever used Count(*) and almost everybody I've worked with in SQL has also used Count(*). And when I read your reply suggesting Count(P_ID) I'm realizing I've never had a good reason to prefer Count(*), except maybe that it's faster to type and you could copy it into another sproc without changing a field name. But what's the actual difference between the two, or is there a difference?
|