![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
When I attempt to use a user defined stored procedure for the source of a Transform Data Task or DDQ task I get an error message that states that no rowset in returned from the stored procedure. I need to use a declared table to remove invalid rows before processing. here's how I created the sp. CREATE PROCEDURE [dbo].[usp_test] AS begin declare @t table ( id int primary key ) insert into @t select id from sysobjects select id from @t end GO |
#3
| |||
| |||
|
|
Try doing this at the top SET NOCOUNT ON -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. www.konesans.com - Consultancy from the people who know "Darren" <deo.is (AT) unknown (DOT) com> wrote in message news:%23qZixGpmEHA.2588 (AT) TK2MSFTNGP12 (DOT) phx.gbl... When I attempt to use a user defined stored procedure for the source of a Transform Data Task or DDQ task I get an error message that states that no rowset in returned from the stored procedure. I need to use a declared table to remove invalid rows before processing. here's how I created the sp. CREATE PROCEDURE [dbo].[usp_test] AS begin declare @t table ( id int primary key ) insert into @t select id from sysobjects select id from @t end GO |
![]() |
| Thread Tools | |
| Display Modes | |
| |