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