Wednesday, August 27, 2008     | Register
SQL Server Development

 

Data Tier Generator

 

Generates SQL Server scripts for stored procedures and C# classes used to access those stored procedures ... Source : codeplex.com

 

 

Database Profiler

 

Need a tool to inspect the quality of an unknown database to assist in estimating development time? Check out this tool on CodePlex ... 'The Database Profiler enables you to analyze (profile) unfamiliar databases, to get an overview about the data quality, and to highlight predictable problems before they appear' ... Source : Codeplex.com

 

1753, Pope Gregory XIII and SQL Server DateTime

 

Half history lesson, half SQL Server; this post from Conor explains why the datetime data type cannot store dates earlier than 1753 ... Source : Conor Cunningham - sqlSkills.com - Blog Post

 

 

CLR Integration Security

 

SQL Server now integrates the user-based security model of SQL Server with the code access-based security model of the CLR. Some of the advantages of this combined approach to security are discussed in this link ... Source : Microsoft.com - MSDN Article

 

 

Giving Permissions through Stored Procedures

 

In this Blog post, SQL Server MVP Erland Sommarskog covers the major methods for granting users permissions to database objects in SQL 2005; Ownership Chaining, Signing Procedures with Certificates, Using impersonation with EXECUTE AS, Application roles and Application proxies ... Source : Erland Sommarskog - Blog Post

 

 

Library of Free Data Models

 

Over 450 data models are available for free at this site. These are great as a Kick Start to your modeling project  ... Source : databaseanswers.org

 

 

Visual Studio Team Edition for Database Professionals

 

In this blog post, Gert Drapers talks about the Visual Studio 2008 version of Data Dude, aka "Visual Studio Team Edition for Database Professionals" ... Source : Gert Drapers - Blog Post

 

 

What Microsoft Visual Studio 2005 Team Edition for Database Professionals Can Do for You

 

This article provides an overview of the latest addition to the Microsoft Visual Studio Team System: Visual Studio 2005 Team Edition for Database Professionals ... Source : Microsoft.com - MSDN Article

 

 

A Security Overview of Microsoft Visual Studio 2005 Team Edition for Database Professionals

 

To integrate database development into the overall life cycle most effectively, you must understand the variety of security implications in Team Edition for Database Professionals. These implications include how to set up and configure the product more securely, how to use the security-related features of the product, and best practices for a more secure implementation of your database projects ... Source : Microsoft.com - MSDN Article

 

 

XML Best Practices for Microsoft SQL Server 2005

 

Learn about the guidelines for XML data modelling and usage in Microsoft SQL Server 2005, and see illustrative examples ... Source : Microsoft.com - Technet Article

 

 

Multiple Active Result Sets (MARS) in SQL Server 2005

 

This document explains the design, architecture, and semantic changes in MARS and what considerations must be taken into account by applications to get the maximum benefit out of these improvements... Source : Microsoft.com - MSDN Article

 

 

Introduction to XQuery in SQL Server 2005

 

This white paper provides an introduction to various features of XQuery implemented in SQL Server 2005 such as the FLWOR statement, operators in XQuery, if-then-else construct, XML constructors, built-in XQuery functions, type casting operators, and examples of how to use each of these features. Non-supported features of XQuery in SQL Server 2005 and workarounds are described in this article. It also presents three scenarios where XQuery is useful ... Source : Microsoft.com - MSDN Article

 

 

Performance Optimizations for the XML Data Type in SQL Server 2005

 

This paper explores several ideas to improve the query and data modification performance of the XML data type in Microsoft SQL Server 2005 ... Source : Microsoft.com - Technet Article

 

 

 

Application Patterns and database performance: Complex Screens

 

Complex screens can cause database performance problems when each control (grid, list box, etc) on the screen is treated as an individual object and is responsible for retrieving its own data.  This pattern may seem too basic for experienced programmers, yet we still see it in production quite frequently ... Source : Kevin Cox - SQL Server Customer Advisory Team - Blog Post

 

 

Normalizing query text

 

It’s common for SQL Server application developers to want to “normalize” the query text returned in a Profiler trace such that executions of the same query with different parameters can be easily compared with one another and aggregated together. In this blog post, Ken blogs about a couple of approaches commonly used to normalize queries, and then discusses the sp_get_query_template that can assist with the process ... Source : Ken Henderson - Blog Post

 

 

Old vs New Conventional Wisdoms

 

Old: Power is free, but transistors are expensive. New: Power is expensive, but transistors are free. A great post from Linchi on a report from the Berkeley group that highlights how things have changed and how it will effect software development in the future ... Source : Linchi Shea - SQLblog.com - Blog Post 


TSQL Programming

 

Solutions for Common T-SQL Problems

 

A great new site providing example code solutions for common TSQL problems. Examples include Controlling Return Results by Range, Incrementing an AlphaNumeric Value, and Creating a Comma Delimited List from a Column in a Table. Thanks to Denis Gobo for the link ... Source : Microsoft.com

 

 

Trigger Finger

 

As Conor points out, Triggers are one of those very useful things that, if used for the wrong reasons in the wrong place, you'll end up shooting yourself in the foot (hence the name trigger?) ... Source : Conor Cunningham - SQLSkills.com - Blog Post

 

 

DateTime MasterClass

 

Everything you ever wanted to know about the DateTime datatype - hints, tricks, myths and more ... Source : Tibor Karaszi - Karaszi.com - Article

 

 

Synonyms

 

An often overlooked but handy development feature is the Synonym. As Roman points out, we can use Synonyms to redirect data access when tables are renamed or moved to a different database or even server, all without having to change application or stored procedure code ... Source : Roman Rehak - searchsqlserver.techtarget.com - Article

 

 

Recursion and CTEs

 

Struggling to get your head around recursion and CTEs? Tony does a great job of explaining it in this post ... Source : Tony Rogerson - sqlBlogCasts.com - Blog Post

 

 

count(*) vs count(column) vs Count(1)

 

Conor points out the not so obvious differences between the various methods for counting rows in a table, and how NULL values effect the results. Also check out Conor's other post on the use of count(*) vs count(1) ... Source : Conor Cunningham - SQLSkills.com - Blog Post

 

 

Techniques for generating sequential numbers in SQL Server

 

This blog post from the SQLCat team talks about generating sequential numbers in SQL Server. They present commonly used techniques and how these techniques may not work under heavy load. An alternative is presented for high throughput environments ... Source : Howard Yin - SQL Server Customer Advisory Team - Blog Post

 

Performance of Scalar vs Table Valued UDF's

 

All UDF's are bad for performance. Well, not quite, as Alexander helps demonstrate in this great blog post ... Source : Alexander Kuznetsov - SQLBlog.com - Blog Post

 

 

Stored Proc Vs Adhoc

 

I'm firmly in the Stored Proc camp myself, but I still enjoy reading about the merits of Adhoc SQL …. ... Source : Peter Debetta - sqlBlog.com - Blog Post

 

 

How to rethrow errors in T-SQL

 

If you do application development and you're used to rethrowing errors in a catch block, you may have noticed that error handling in T-SQL still doesn't support this functionality. However, you can easily emulate this functionality by rolling out your own "rethrow" stored procedure  ... Source : Roman Rehak - SQLblog.com - Blog Post

 

 

How can data-type choice affect performance?

 

In this blog posting, Paul talks about choosing the right data type depending on the expected field content, and how the choice can make a difference to performance. Should a column that holds a 2 digit state code be char(2) or varchar(2) ?  ... Source : Paul S. Randall - SQLskills.com - Blog Post

 

 

Five Different Ways To Return Data From One Table Which Doesn't Exists In another Table

 

This blog compares methods for retrieving data in 1 table that doesn't exist in another. It covers Not In, Not Exists, Left/Right Outer Join, Outer Apply and Intersect. The last 2 are new in SQL2005 ... Source : Denis Gobo - SQLblog.com - Blog Post

 

 

Achieving Selective Uniqueness in SQL Server Tables

 

The SQLCat team discuss using indexed views to allow a unique index to be created on tables containing duplicate values (e.g.; NULL) for the column that requires the unique index ... Source : Lubor Kollar - SQL Server Customer Advisory Team - Blog Post

 

 

What are best practices for managing schema changes in SQL Server 2005?  What are the fastest, least intrusive techniques for high availability?

 

In this blog post, the SQLCat team talk about options for making schema changes to databases with large amounts of data, and choosing techniques to minimise performance impacts. Part 2 of this blog post is here  ... Source : Tom Davidson - SQL Server Customer Advisory Team - Blog Post

 

 

Snapshot Isolation

 

One from the archives. In this article titled 'Another Version of the Truth', Peter Ward explores the Snapshot Isolation feature introduced in SQL Server 2005, and how it can be used to reduce blocking and deadlocks by enabling applications to read a previous version of a row when the row is locked by another transaction ... Source : Peter Ward - sqlpass.org - article

 

 

NEWID and NEWSEQUENTIALID

 

Denis discusses the new system function in SQL 2005, NEWSEQUENTIALID ... Source : Denis Gobo  - SQLblog.com - Blog Post

 

 

NULL - The database's black hole

 

The blog about nothing  ... Source : Hugo Kornelis - SQLblog.com - Blog Post

 

 

TSQL solutions for the classic {Top Per Group} problem

 

Adam blogs about common methods used for returning details relating to the top/bottom/min/max of a set ... Source : Adam Machanic - SQLblog.com - Blog Post 


Development Architecture

 

10 lessons from 35,000 transactions per second

 

Paul Nielsen, author of the SQL Server Bible books, has spent the last 6 months on a contract developing a high transaction database system (~35K tps). In this post, he discusses the lessons learned covering agile development, test environments, application and database design, and index selection ... Source : Paul Nielsen - SQLblog.com - Blog Post

 

 

How SQL Server 2005 Enables Service-Oriented Database Architectures

 

Databases are a strategic part of a distributed architecture built using the Service-Oriented Database Architecture (SODA). This paper explores the concepts behind SODA and how SQL Server 2005 fits into this architecture ... Source : Microsoft.com - Technet Article

 

 

Service Oriented Database Architecture: App Server-Lite?

 

This paper describes the Service Oriented Database Architecture (SODA) developed for the Microsoft SQL Server DBMS. First, it motivates the need for building Service Oriented Architecture (SOA) features directly into a database engine. Second, it describes a set of features in SQL Server that have been designed for SOA use. Finally, it concludes with some thoughts on how SODA can enable multiple service deployment topologies ... Source : Research.Microsoft.com

 

 


Service Broker

 

An Introduction to SQL Server Service Broker

 

This paper introduces Service Broker, a new feature in Microsoft SQL Server 2005. With Service Broker, internal or external processes can send and receive guaranteed, asynchronous messaging by using extensions to Transact-SQL ... Source : Microsoft.com - MSDN Article

 

 

Building Reliable, Asynchronous Database Applications Using Service Broker

 

Microsoft SQL Server 2005 Service Broker is a new platform for building distributed asynchronous database applications. Including an asynchronous, reliable messaging feature in the SQL Server database makes it possible to build a variety of database applications that were difficult, if not impossible, to build before ... Source : Microsoft.com - MSDN Article

 

 

Security Considerations for Service Broker

 

Discusses all aspects of Service Broker Security ... Source : Microsoft.com - MSDN Article

 

 



Copyright (c) 2008 sqlCrunch.com   |  Privacy Statement  |  Terms Of Use