all groups > sql server dts > december 2005 >
You're in the

sql server dts

group:

Insert Results of a Query


Insert Results of a Query RC-
12/19/2005 11:10:55 AM
sql server dts: How can I insert the results of a query into another table?

TIA
RC-

Re: Insert Results of a Query Chris Leiter
12/19/2005 7:16:17 PM
See Books Online for the topic

SELECT INTO

Chris

[quoted text, click to view]

Re: Insert Results of a Query Darren Green
12/20/2005 12:00:35 PM
This is a DTS group, but it would be a watse of effort doing this in DTS.


Try using pure T-SQL-

INSERT Results (C1, C2)
SELECT C1, C2
FROM Table
WHERE C1 = 'X'



[quoted text, click to view]

AddThis Social Bookmark Button