← Customer Feedback for Redgate Settings and activity 1 result found Highlight a SELECT stmt and create a temp table definition from it. 31 votes Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close Vote We’ll send you updates on this idea 5 comments · SQL Prompt » Script object as alter · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close An error occurred while saving the comment Alex den Haan commented · Jan 6, 2015 · Edit… · Delete… You can also select into a temp table. SELECT fld1 ,fld2 INTO #tmpTbl FROM Tbl Save Submitting...
You can also select into a temp table.
SELECT
fld1
,fld2
INTO #tmpTbl
FROM Tbl