Skip to content

Instantly share code, notes, and snippets.

@kenny-evitt
Created September 12, 2016 14:37
Show Gist options
  • Save kenny-evitt/648b3b4dd0a76af92853761cc54227a0 to your computer and use it in GitHub Desktop.
Save kenny-evitt/648b3b4dd0a76af92853761cc54227a0 to your computer and use it in GitHub Desktop.
For use with the ViEmu SQL Server Management Studio { add-in / add-on / extension }
-- Template block to execute a test stored procedure
-- a:
EXEC tSQLt.Run '';
--
-- Block to execute the current test; the macro for the `y` register as shown below stores this
-- b:
--
/* Macro - Insert a block to execute a test stored procedure for which the default register value
contains its name; assumes the `a` register contains the contents as above. Also copies
part of the block to the `b` register as described above. */
-- y: "ap5jf'p3k"b4yy3jVgS
--
/* Macro - Copy current test stored procedure name to default register; assuming the active query
is a DB Ghost drop-and-create script for a stored procedure. */
-- z: 6Gf[yt;
--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment