Files
dotfiles/Emacs/.config/emacs/.config/yasnippet/snippets/sql-mode/create
Aryadev Chavali 91c8da0e83 (Emacs)+snippets from doom-snippet and removed default package
I've re-enabled yasnippet for ease of use, and added a ton of snippets
directly into my Dotfiles so only I get to curate what snippets are
removed.  Screw downloading them off someone else's repository at
their total mercy.
2021-07-25 15:44:48 +01:00

12 lines
299 B
Plaintext

# -*- mode: snippet -*-
# 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