Quantcast
Channel: Syntax Warriors » Databases
Browsing all 7 articles
Browse latest View live

A Visual Explanation of SQL Joins

A few years ago I found a visual description of how SQL Joins works and a few days ago when a colleague asked for help with joins, I just had to look up the description again. So here’s a link to a...

View Article



Image may be NSFW.
Clik here to view.

SQL Server 2008 and CLR Procedures – Simple Example

The general idea behind CLR procedures is that you can execute code from the SQL server. This is usefull when you reach the limits of what T-SQL can do without making your eyes bleed or as in my case...

View Article

Image may be NSFW.
Clik here to view.

SQL 2008 and the Merge statement

I recently had the pleasure of playing around with the Merge statement which was introduced in SQL Server 2008 and I am pretty impressed by it. Although it dosen’t add any new functionality it makes...

View Article

Image may be NSFW.
Clik here to view.

T-SQL Table Variable vs. Temporary Table

Most of the time you don’t gain very much performance from obsessing about details but instead from focusing on finding flaws in the general design.. Once in a while it’s still fun to obsess about the...

View Article

Image may be NSFW.
Clik here to view.

T-SQL: Splitting strings into multiple rows

Functionality such as Split() is for the most of us something we take for granted in whatever programming language we are using. There is however no Split method in MSSQL. So when I was faced with the...

View Article


Stream Varbinary data to and from MSSQL using C#

I’ve been working on a simple file publishing web site that has come out in its first basic version: http://filepublicator.com/ This is actually the second version of the site. In the first version I...

View Article

Drop All constraints on MSSQL table

This script generates code to drop all foreign and primary key constraints on a specified table. DECLARE @tableName AS NVARCHAR(MAX) = 'TableName' -- edit here ,@constraintName AS NVARCHAR(MAX) DECLARE...

View Article
Browsing all 7 articles
Browse latest View live




Latest Images