Skip to content

Instantly share code, notes, and snippets.

View taspeotis's full-sized avatar

Todd Aspeotis taspeotis

View GitHub Profile
/*
https://connect.microsoft.com/SQLServer/feedback/details/683411
*/
IF NOT EXISTS ( SELECT TOP 1 NULL
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_NAME = 'SinglePrimaryKey' )
BEGIN
CREATE TABLE SinglePrimaryKey
(