XML Schema Collections: the XML accelerator pedal
While some of us may disagree, I think XML is a great method of moving small-to-medium sized data sets into SQL Server.Because of XML's generality, it can be used by pretty much any client application...
View ArticleHow much overhead do CHECK constraints have?
When designing new database structures, I feel it's really important to make sure that the data goes into the new tables as cleanly as possible. Doing this early on helps prevent bugs from creeping...
View ArticleCollation of character fields in temporary objects
It's a common practice to use scalar variables, table variables, and temporary tables when developing a database application. If these transient objects contain (or are) character fields, which...
View ArticleEfficiently indexing long character strings
Sometimes we face the requirement to search a table for a specific string value in a column, where the values are very long. The default answer is to create an index, but we must remember that index...
View Article