Skip to content

Instantly share code, notes, and snippets.

@shaneis
Created March 28, 2018 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shaneis/a5cf58ea9ebd5053a610ffae75eca8c3 to your computer and use it in GitHub Desktop.
Save shaneis/a5cf58ea9ebd5053a610ffae75eca8c3 to your computer and use it in GitHub Desktop.
Renaming our table works
CREATE TABLE #temp2 (
id int NOT NULL
, results varchar(50) NOT NULL
);
GO
INSERT INTO #temp2 (id, results)
EXECUTE dbo.WhatYouGot;
GO
SELECT id, results FROM #temp2;
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment