Skip to content

Instantly share code, notes, and snippets.

View StephanMoeller's full-sized avatar

Stephan Møller StephanMoeller

View GitHub Profile
-- Create a table with a ref to itself
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[TestTable](
[Id] [int] IDENTITY(1,1) NOT NULL,