Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

Implementing uniqueness constraints on large columns

SQL Server uniqueness constraints may not be aver columns larger than 900 bytes. Here is how to implement uniqueness constraints over larger columns with hash indexes.

SQL Server Modeling Services announcement

The code name “Oslo” repository now has the official name “SQL Server Modeling Services”. SQL Server Modeling Services will be a SQL Server workload like SQL Server Reporting Services.

Paging SQL Server result sets

Paging through SQL Server result sets is an approach for reducing the network and client resources used to display large result sets. Here is a discussion of the merits of three approaches including their relative performance.

"Oslo" repository lifecycle/versioning whitepaper

Repositories face issues to do with versioning schema and data as well as integrating with an organizations lifecycle processes. Here is a whitepaper I wrote on how the "Oslo" team thinks about handling various lifecycle/versioning issues.

How to make a copy of the repository

Here is how to make a copy of the “Oslo” repository so you can later restore it to its previous state.
Posted by AnthonyBloesch | 1 Comments
Filed under: ,

Favorite keyboard shortcuts

Here are a list of my favorite shortcuts in US Letter docx, A4 docx, US Letter XPS and A4 XPS formats. I have included Windows 7, Internet Explorer 8 and SQL Server Management Studio 2008 shortcuts.

SQL Server 2008 error handling best practice

Error handling in SQL Server 2008 needs careful implementation. Here is the pattern the Microsoft "Oslo" Repository uses. It is based on experimentation and best practice guidance from the SQL Server team and other SQL Server experts.

Testing strings for equality counting trailing spaces

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.

Instead of triggers over views (part 1)

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.

Large tuple uniqueness constraints in SQL Server

SQL Server 2008 limits unique constraints to 900 bytes of data per tuple. Here is a technique for enforcing uniqueness over larger tuple sizes.

Top 25 most dangerous programming errors

The paper “Top 25 Most Dangerous Programming Errors”is an interesting study of the families of programming errors that lead to security issues. From a T-SQL perspective, however, the paper seems off mark so here is a list of Common SQL specific errors I was able to extract from their database.
Posted by AnthonyBloesch | 1 Comments
Filed under: , , ,

An insiders guide to giving feedback to Microsoft

I have worked on both sides—giving feedback to Microsoft and receiving it from customers. Here are the best ways I know of to have your voice heard.

The n habits of highly effective developers

There is a famous book “The Seven Habits of Highly Effective People” by Stephen R. Covey, I have been thinking about what are the n habits of a great developer. Here is my list.
Posted by AnthonyBloesch | 1 Comments
Filed under:

SQL Server fragmentation

We have recently been looking at database fragmentation for real usage of the "Oslo" repository. However, since database fragmentation is a major cause of poor performance I thought a discussion of how to minimize and deal with database fragmentation in SQL Server might be generally useful.

Architectural design tenets and corollaries

Now that the codename "Oslo" repository is public I can discuss its architecture and design. In this post, I discuss how I like to start the design process for a new product and the design tenets for the "Oslo" Repository.
More Posts Next page »
 
Page view tracker