Create a Temporary table within a SQL Stored Procedure


/ Published in: SQL
Save to your folder(s)

A Temp table is great for combining multiple SELECT statements in a Sproc and outputting as just one table.

Don't forget to Drop the table after the SELECT * FROM #TempTableName at the end.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.