August 20, 2010 at 12:05 pm
ny66 (8/20/2010)
havent gotten that far yet on the insert into, need to get the syntax together prior to creating the new table.
it's pretty basic:
--get just the data we need to test against
SELECT
(ns.f1) AS f1
INTO #temp
FROM dbo.NEWDUNDD_SEAF0
--pazste the results to SQL Server Central:
SELECT 'INSERT INTO #TEMP(f1) VALUES('' + f1 + '') UNION ALL '
from #temp
Lowell
Viewing post 16 (of 15 total)
You must be logged in to reply to this topic. Login to reply