sql server - SSIS: using parameters from configuration file -


i have ssis package contains 1 data flow task has several data sources several destinations. package takes data fro 1 table , inserts another. want transfer source table destination table records belong particular collectionid. added parameter "collectionid" of type string project , added parameter configuration file.

i select data source table via sql command. how can sql command use parameter added configuration file? understand need add clause, how point clause parameter in config file?

you need create variable , map configuration value.

assuming using ole connection type, map variable value sql statement ? placeholder.

select * table columnvalue = ? 

finally, map variable in executesql task: variablemapping

if parameter doesn't have name can use 0, make sure data type correct. if text data type, need give proper length, not -1.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -