summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/sql-mode/create
blob: a34624d207a9246258d2345148e257f6fb8313d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : create table ...
# --
CREATE TABLE [${1:dbo}].[${2:TableName}] 
(
		${3:Id}		${4:INT IDENTITY(1,1)}		${5:NOT NULL}
$0
	CONSTRAINT [${6:PK_}] PRIMARY KEY ${7:CLUSTERED} ([$3]) 
)
GO