emacs-prelude/vendor/yasnippet/snippets/sql-mode/create

11 lines
272 B
Text
Raw Normal View History

2012-02-17 22:12:32 +02:00
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
# name: create table ...
# key: create
# --
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