|
Excellent advice!
Just a quick note...
is likely to return a COUNT of zero
inaccurately. You might want to change it to:
Equating to NULL always returns FALSE, so the
original query would return 0 rows, hence the need for the IS NULL
operator.
Also, COUNT(expression) will not count the
number of occurances where expression is NULL, so even if you corrected
the WHERE clause you would still get 0 rows, since all returned USERNAME values
would of course be NULL due to the WHERE clause...
...sometimes you're damned, sometimes you're doubly
damed. C'est la vie...
|
Title: RE: Changing column format
- Changing column format Nguyen, David M
- RE: Changing column format DENNIS WILLIAMS
- Re: Changing column format Stephane Faroult
- RE: Changing column format Whittle Jerome Contr NCI
- RE: Changing column format Fink, Dan
- RE: Changing column format Burton, Laura L.
- Re: Changing column format Ron Rogers
- Re: Changing column format Viral Desai
- RE: Changing column format Donahue, Adam
- Re: Changing column format Tim Gorman
- Re: Changing column format Jared Still
- Re: Changing column format Rachel Carmichael
- RE: Changing column format Donahue, Adam
- RE: Changing column format MacGregor, Ian A.
- Re: Changing column format Yechiel Adar
