Sign in
Anthony Bloesch's Web Log
A WebLog about SQL Server development.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
architecture
bugs
bulk load
connect
Developers
dog-food
equality
Error handling
feedback
forums
fragmentation
hash index
Hierarchies
IDataReader
instead of trigger
Intellisense
keyboard
lifecycle
Microsoft
Microsoft Oslo
Oslo
Repository
SQL Server
SQL Server Modeling Services
T-SQL
Archive
Archives
January 2013
(1)
December 2012
(2)
November 2009
(3)
April 2009
(2)
March 2009
(2)
February 2009
(3)
January 2009
(3)
December 2008
(2)
November 2007
(1)
February 2006
(1)
October 2005
(3)
September 2005
(7)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Anthony Bloesch's Web Log
Testing strings for equality counting trailing spaces
Posted
over 4 years ago
by
Anthony Bloesch
1
Comments
The SQL standard requires that string comparisons, effectively, pad the shorter string with space characters. This leads to the surprising result that N'' ≠ N' ' (the empty string equals a string of one or more space characters) and more generally any string equals another string if they differ only by trailing spaces. Here is a discussion of various work arounds....
Anthony Bloesch's Web Log
Instead of triggers over views (part 1)
Posted
over 4 years ago
by
Anthony Bloesch
1
Comments
Views are useful for creating a business entity based view data while allowing for an efficient logical schema. SQL Server’s instead of triggers allow many of these views to be updatable. Here are some experiments that show how to write them and some of their properties. ...
Anthony Bloesch's Web Log
Large tuple uniqueness constraints in SQL Server
Posted
over 4 years ago
by
Anthony Bloesch
1
Comments
SQL Server 2008 limits unique constraints to 900 bytes of data per tuple. Here is a technique for enforcing uniqueness over larger tuple sizes....
Page 1 of 1 (3 items)