|
|
| Author |
Message |
k.junaid83
New User
Joined: 19 Apr 2006 Posts: 14 Location: bangalore
|
|
|
|
Hi All,
What will be the value returned by COUNT(*) when it is executed on an empty table.
Is there a possibilty of COUNT(*) query returning a SQL code 100?
Thanks in advance |
|
| Back to top |
|
 |
References
|
Posted: Sat Jun 28, 2008 4:00 pm Post subject: Re: Value returned by COUNT(*) when table is empty |
 |
|
|
 |
stodolas
Senior Member
Joined: 13 Jun 2007 Posts: 648 Location: Wisconsin
|
|
|
|
| It will be 0 |
|
| Back to top |
|
 |
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 497 Location: Richmond, Virginia
|
|
|
|
| Hey, I was gonna guess that. |
|
| Back to top |
|
 |
|
|