Add explicit "# key" directive to legacy snippet collection before deprecating filenames-as-triggers

This commit is contained in:
Joao Tavora
2011-10-31 12:32:34 +00:00
parent 1bc5993a44
commit f48317e7c5
402 changed files with 403 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : , ColumnName ColumnType NOT NULL...
# key: column
# --
, ${1:Name} ${2:Type} ${3:NOT NULL}

View File

@@ -1,4 +1,5 @@
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : CONSTRAINT [..] PRIMARY KEY ...
# key: constraint
# --
CONSTRAINT [${1:PK_Name}] PRIMARY KEY ${2:CLUSTERED} ([${3:ColumnName}])

View File

@@ -1,4 +1,5 @@
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : CONSTRAINT [..] FOREIGN KEY ...
# key: constraint
# --
CONSTRAINT [${1:FK_Name}] FOREIGN KEY ${2:CLUSTERED} ([${3:ColumnName}])

View File

@@ -1,5 +1,6 @@
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : create table ...
# key: create
# --
CREATE TABLE [${1:dbo}].[${2:TableName}]
(

View File

@@ -1,5 +1,6 @@
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : create procedure ...
# key: create
# --
CREATE PROCEDURE [${1:dbo}].[${2:Name}]
(

View File

@@ -1,4 +1,5 @@
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
#name : REFERENCES ...
# key: references
# --
REFERENCES ${1:TableName}([${2:ColumnName}])