Sign In
Anthony Bloesch's Web Log
A WebLog about the design of the codename "Oslo" repository.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
architecture
bugs
connect
Developers
dog-food
equality
Error handling
feedback
forums
fragmentation
hash index
Hierarchies
instead of trigger
Intellisense
keyboard
lifecycle
Microsoft
Microsoft Oslo
Modeling Services
Oslo
Repository
SQL Server
Trees
T-SQL
unique
Archive
Archives
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)
February, 2009
MSDN Blogs
>
Anthony Bloesch's Web Log
>
February, 2009
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 3 years ago
by
AnthonyBloesch
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 3 years ago
by
AnthonyBloesch
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 3 years ago
by
AnthonyBloesch
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)