![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have built a stored procedure that returns a result set I want to use in DTS to populate a table, but on the Transformations tab I see no Source columns? The procedure uses data from several tables to populate a temp table, which is then joined to other tables. Nothing very fancy... On the source tab, I simply put: "exec my_proc" On the Destination tab I chose a Destination table, I go to the Transformations tab, I have no source columns to choose from. I know the procedure is OK; it runs in Query Analyzer and with the Preview button on the Source tab I see my result set. What could be wrong? Thanx in advance, Bart |
#3
| |||
| |||
|
|
Make sure the first thing in the proc is SET NOCOUNT ON Let us know if this works -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "pipo" <pipo1 (AT) ilse (DOT) nl> wrote in message news:5bb747d0.0406240350.44b6856a (AT) posting (DOT) google.com... I have built a stored procedure that returns a result set I want to use in DTS to populate a table, but on the Transformations tab I see no Source columns? The procedure uses data from several tables to populate a temp table, which is then joined to other tables. Nothing very fancy... On the source tab, I simply put: "exec my_proc" On the Destination tab I chose a Destination table, I go to the Transformations tab, I have no source columns to choose from. I know the procedure is OK; it runs in Query Analyzer and with the Preview button on the Source tab I see my result set. What could be wrong? Thanx in advance, Bart |
![]() |
| Thread Tools | |
| Display Modes | |
| |