dbTalk Databases Forums  

Sql Server 2005 - SSIS - nbr of input cols < nbr stored proc parameters

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


Discuss Sql Server 2005 - SSIS - nbr of input cols < nbr stored proc parameters in the microsoft.public.sqlserver.dts forum.



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

Default Sql Server 2005 - SSIS - nbr of input cols < nbr stored proc parameters - 11-03-2005 , 11:55 AM






Greetings,

I have a flat file that contains the following columns

county_name
fips_code
count_code

and a stored procedure that inserts records into our lkp_county table

CREATE PROCEDURE wrd_lkp_county_insert
(
@new_serial_id int = '-1' OUTPUT,
@return_msg char(250) = NULL OUTPUT,
@current_userid char(8) = NULL,
@county_name varchar(20) = NULL,
@fips_code int = NULL,
@county_code char(4) = NULL
)


When I try to set up an [OLE DB Source] ===> [OLE DB Command]
SSIS data flow everything goes fine until the validation phase when the
I get the error ...

"Validation Error. Data Flow Task: OLE DB Command [42]: Parameters
are not bound. All parameters in the Sql command must be bound to input
columns."

Ok, so how does one go about passing 3 columns from an input file to
a 6 parameter stored procedure ???

I know this is a simple case but we're migrating from a Unix DB from and
I'll be doing a lot of this type of thing with much more complicated tables.

Thanks in advance,

Barry
in Oregon.

P.S. Am I simply expecting too much of SSIS ... is it just basically a
simple
minded graphical environment that meant to handle simple tasks a table
copies
and home office mailing list extractions ???




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.