dbTalk Databases Forums  

using sp as Source

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss using sp as Source in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
fleo
 
Posts: n/a

Default using sp as Source - 11-03-2005 , 04:10 PM






Hi,
I am trying to use a stored proc as a source for a data transformation.
This sp uses temp tables. When I preview the data everything is fine.

But when I try to map the transformations I get an error "Invalid object
name" saying the temp table does not exist...

What should I do?

Thanks



Reply With Quote
  #2  
Old   
Ilya Margolin
 
Posts: n/a

Default Re: using sp as Source - 11-07-2005 , 08:31 AM






fleo,

Insert SET NOCOUNT ON statement at the beginning of the stored procedure.

Ilya

"fleo" <fleo (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,
I am trying to use a stored proc as a source for a data transformation.
This sp uses temp tables. When I preview the data everything is fine.

But when I try to map the transformations I get an error "Invalid object
name" saying the temp table does not exist...

What should I do?

Thanks





Reply With Quote
  #3  
Old   
fleo
 
Posts: n/a

Default Re: using sp as Source - 11-08-2005 , 10:23 AM



Hi Ilya,
The NOCOUNT option is already set.

"Ilya Margolin" a écrit :

Quote:
fleo,

Insert SET NOCOUNT ON statement at the beginning of the stored procedure.

Ilya

"fleo" <fleo (AT) discussions (DOT) microsoft.com> wrote in message
news:2E23454F-BBE2-4526-9EDA-1A4DB6AA7AEE (AT) microsoft (DOT) com...
Hi,
I am trying to use a stored proc as a source for a data transformation.
This sp uses temp tables. When I preview the data everything is fine.

But when I try to map the transformations I get an error "Invalid object
name" saying the temp table does not exist...

What should I do?

Thanks






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.