Viewing 15 posts - 916 through 930 (of 937 total)
Excellent article. Just one question - What if you're searching for Base64 encoded data in a column? By definition Base64 is case-sensitive. Of course you can turn off case insensitivity...
July 8, 2005 at 10:36 am
Thanks for the feedback! I'm glad you found it helpful.
July 5, 2005 at 3:50 pm
Thanks for the feedback!
I'm not sure that COUNT(1) is any faster than COUNT(*). If you look at the query plan for the sample query in the...
July 5, 2005 at 8:13 am
The main reason I can think of is for questionnaires and the like, where you need to generate statistical analyses after they have been filled out by your users. Marketing...
June 28, 2005 at 4:46 pm
For this, the additional CHAR(1) column with your status/reason attribute will work quite nicely. If the name does exist, populate your CHAR(1) column for that row with a designated indicator;...
June 28, 2005 at 4:35 pm
Fair enough, but then why have any mark at all (SQL NULL or otherwise) - would it not make more sense to simply represent the missing data separately as...
June 28, 2005 at 4:31 pm
Technically speaking, zero-length strings are suggested in the article as the actual physical CHAR/VARCHAR representation of a middle name consisting of exactly zero characters. I think that a ZLS is...
June 28, 2005 at 8:57 am
Thank you for the feedback!
ANSI SQL doesn't provide differentiation for 'states' of missing data; only a mark indicating that the data is indeed missing. In order to differentiate between different...
June 27, 2005 at 10:00 pm
Thanks for the suggestion! You can't go wrong with Date, Celko and the rest of the gurus.
I am with you on eliminating NULLs as much as possible; but as you also point...
June 27, 2005 at 6:54 pm
I haven't had a chance to thoroughly test this myself yet, but Adam Machanic (MS MVP) has posted a blog on the topic. He says that, according to his tests,...
June 27, 2005 at 1:22 pm
Thanks for the feedback! Excellent points. I've also read, but haven't yet had a chance to verify, that ISNULL() performs better in some specific situations in WHERE clauses. That might...
June 27, 2005 at 11:24 am
Performance-wise it wouldn't make a difference.
However, to get a TRUE/FALSE result from a where clause like "WHERE var1 = NULL" or a statement like "IF var1 = NULL", you would...
June 27, 2005 at 8:34 am
LIKE can absolutely use an INDEX, as long as your comparison string doesn't start with wild-cards. i.e.,
LIKE '%george' -- cannot use an index
LIKE 'George%' -- can use an index
June 24, 2005 at 10:33 am
Another problem with this concept being applied to network security is that, if someone does break through your security, it will be very hard to track down the break-in point...
June 17, 2005 at 7:44 am
Viewing 15 posts - 916 through 930 (of 937 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy