Search This Blog

Thursday, February 7, 2013

SQL query result insert in temp table

SQL Server > Create dynamic temp table

Select into create dynamical temporary table

Example

SELECT
   *
into
   #t
FROM
  table