declare table temp sql code example Example: create temp table in sql -- CREATE TEMP TABLE Create Table #MyTempTable ( EmployeeID int );