Subject | Re: [firebird-support] * vs fieldname |
---|---|
Author | Thomas Steinmaurer |
Post date | 2007-09-13T13:48:57Z |
> Is there any time where there is an effective difference between:Possibly not, but be aware that count doesn't count NULL states, so the
>
> select count(*) from ...
>
> and
>
> select count(myfieldname) from ...
result might differ when you are using a NULLable field.
--
Best Regards,
Thomas Steinmaurer
LogManager Series - Logging/Auditing Suites supporting
InterBase, Firebird, Advantage Database, MS SQL Server and
NexusDB V2
Upscene Productions
http://www.upscene.com