Quantcast
Channel: Mostly Developers - SQL Server
Browsing all 4 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Primary Keys and Distributed Environments

In architecting a new application or enhancing an existing one, important considerations need to be made when choosing how to implement primary keys/IDs.  From my own personal research and experience;...

View Article



Image may be NSFW.
Clik here to view.

ADO.NET and SQL Server 2008 User-Defined Table Types

I recently came across a situation where I needed to batch insert, update, and delete 1 to 100,000+ records to SQL Server at any given time.  Traditionally I would generate an xml string and parse it...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Triggers and Multiple Rows

A common mistake that I’ve seen is the assumption that a DML trigger is fired once for each record modified.  This is not true.  A good SQL developer will use set-based DML statements to alter multiple...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Comma-Delimited List

I’ve come across a few solutions to creating comma-delimited lists in SQL Server.  The two most common solutions include CURSORS/WHILE loops and COALESCE.  CURSORS and WHILE loops are a performance...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images