Skip to content

Instantly share code, notes, and snippets.

@icalderond
Created March 25, 2015 18:10
Show Gist options
  • Save icalderond/174949e41a803855fec4 to your computer and use it in GitHub Desktop.
Save icalderond/174949e41a803855fec4 to your computer and use it in GitHub Desktop.
Lista temporal SQL Server
--For SQL Server 2012:
DECLARE @ListofIDs TABLE(IDs VARCHAR(100));
INSERT INTO @ListofIDs
VALUES('a'),('10'),('20'),('c'),('30'),('d');
SELECT IDs FROM @ListofIDs;
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment