dbTalk Databases Forums  

Transform Data Task and Parameters

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


Discuss Transform Data Task and Parameters in the microsoft.public.sqlserver.dts forum.



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

Default Transform Data Task and Parameters - 10-04-2003 , 06:13 PM






Hi. I'm trying to access a parameterized stored proc as a source for a data
pump task. My SQL statement is as follows:

sp_mystoredproc ?

I then assign a global string variable with the value I would pass, but when
I try to preview data, the interface keeps coming back with:

"no value given for one or more required parameters". If I go stratight to
the transformations I have no columns in my source.

This is the second issue today I've been beating my head against the wall
with and I need a second perspective.

If I put the parameter directly in the SQL like:

sp_mystoredproc myparameter

everything works normally.

ANY IDEAS? I can't find any mention of bugs anywhere...

Thanks...Skip





Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Transform Data Task and Parameters - 10-05-2003 , 03:16 AM






Have you had a read of this

Global Variables and Stored Procedure Parameters
(http://www.sqldts.com/Default.aspx?234)

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Skip Borland" <skip.borland (AT) eig (DOT) com> wrote

Quote:
Hi. I'm trying to access a parameterized stored proc as a source for a
data
pump task. My SQL statement is as follows:

sp_mystoredproc ?

I then assign a global string variable with the value I would pass, but
when
I try to preview data, the interface keeps coming back with:

"no value given for one or more required parameters". If I go stratight to
the transformations I have no columns in my source.

This is the second issue today I've been beating my head against the wall
with and I need a second perspective.

If I put the parameter directly in the SQL like:

sp_mystoredproc myparameter

everything works normally.

ANY IDEAS? I can't find any mention of bugs anywhere...

Thanks...Skip







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.