The Wayback Machine - https://web.archive.org/web/20120113192448/http://www.codeguru.com:80/cpp/data/mfc_database/sqlserver/

    SQL Server

    Basics of SQL Server 2008 Locking

    Relational databases are designed for multiple simultaneous users, and Microsoft SQL Server is no different. However, supporting multiple users requires some form of concurrency control, which in SQL Server's case means transaction isolation and locking. Read on to learn how SQL Server 2008 implements locking.

    Using LINQ with Dynamic Where Clauses

    Do you need to create Dynamic Where Clauses at runtime? No need to use string concatenation with SQL, LINQ is fully capable of performing the same task.

    SQL Server Modeling Services with Microsoft Visual Studio 2010 Beta 2

    Learn how to use SQL Modeling Services to hunt for interdependencies without having to access source code.

    SELECT, INSERT, UPDATE with the SQL MERGE Statement

    In today's column we'll demonstrate how and when to use the new TSQL MERGE statement and how this can be a helpful addition to your toolbox.

    SQL Server 2008 Policy Management

    Learn how to define policies and use them to better manage your SQL Server 2008 instances.

    Writing UDFs for Firebird Embedded SQL Server

    This article was written mainly for developers who use Firebird Embedded SQL Server in .Net framework applications and want to speed up or optimize DB queries. We will describe how to create your own native Firebird extension and show some approaches how to use it in managed code applications.

    Deploying and Configuring SQL Server Integration Services Packages Without the Wizard

    By Dee Quang - Ever get confused by or dislike using the SQL Server Integration Services deployment wizard? Learn how to manually deploy the packages to SQL Server 2005 and configure the packages in a multitude of ways as well.

    Ponderings about the Tech Ed 2007 Keynote

    The people at Microsoft are busy with lots of products. Did someone forget that they should be excited about them?

    Temporary Tables vs. Table Variables and Their Effect on SQL Server Performance

    Follow an experiment and draw interesting conclusions on where and when to use temporary tables or table variables.

    Report Solution Patterns and Recipes: Creating Sparklines

    In the last of this three-part SQL Server Reporting Services recipe series, Wrox author Paul Turley shows how to create the graphics for word-size graphics that visualization pioneer Edward Tufte dubbed sparklines.

    Forging Transact SQL Code with CodeSmith

    If you're haven't used CodeSmith for your TSQL coding yet, now's the time. This template-based code generator enables you to add fire-and-forget programming to your TSQL development.

    SQL Server 2005 Compact Edition: The Little Engine That Can

    Microsoft SQL Server 2005 Compact Edition provides relational database functionality for mobile and desktop applications through a lightweight and easily distributable engine. Take a look under the hood.

    Tip: SQL Express Configuration Issue

    Learn how to conquer a SQL Express 2005 remote connection issue.

    News: Don't Embed That Database!

    Did you replace MSDE with SQL Server 2005 Express Edition? Did you make the wrong move?

    Getting Started with SQL Server Service Broker

    Learn how the Service Broker provides the "plumbing" to let you pass messages between applications, using SQL Server as the transport mechanism.

    Designing a SQL Service Broker Control Bus

    SQL Server Management Studio just doesn't cut it for complicated configuration and monitoring implementations. Learn how to implement your own SQL Service Broker (SSB) control bus solution to serve the needs of complex SQL Server-based messaging solutions.

    SQL Server 2005 Service Broker Plays Well with Older Relatives

    You can leverage SQL 2005 Server Service Broker with existing technologies such as SQL Server 2000 and MSMQ. BizTalk and SSB external activation are viable options, but a simple polling solution is easier.

    [Updated] Extracting/Copying Users and Permissions Between Databases

    Learn about a pair of stored procedures that can dump all users, role memberships, and permissions in a database, or copy them from one database to another.

    Using SQL Server to Implement the Publish-Subscribe Integration Pattern

    Utilizing design patterns with SQL Server 2005 Service Broker enables you to assess and select appropriate solutions for all of your SQL Server 2005 asynchronous messaging needs.

    Incorporate Data Warehouse QA Checks into MOM 2005

    Microsoft Operations Manager 2005 (MOM) is a very capable monitoring tool, but it's limited when it comes to quality assurance. Learn how to use WMI and MOM's rules and notification capabilities to run automated data warehouse QA checks.

    Database Visualization

    When handling a project with hundreds of tables, it takes some time to understand the flows. Learn how to create a simple tool for Visualizing database tables and relations.

    SQL Server 2005 Programmability Enhancements — Common Table Expressions

    There is a plethora of new T-SQL features and enhancements in SQL Server 2005. Learn about one of them — specifically, Common Table Expressions (CTE), because they often come in handy.

    User-Defined Functions: Powerful Alternatives to Views and Stored Procedures

    Table-valued user-defined functions (UDFs) are functionally similar to views but structurally similar to stored procedures, giving them all the important features of views and stored procedures and some additional functionality that they lack.

    Storing Session State in a SQL Server Database

    In ASP.NET 2.0, you can customize the session state store as per your requirement. Explore one of the scalable and reliable approaches for storing session variables—SQL Server.