Forum Discussion
nelcapetown
Feb 05, 2023Copper Contributor
Execute SQL Task Editor - Passing Parameters using ADO.NET instead of OLEDB
I'm working on a data migration package and find that when I use an OLEDB connection manager, I'm able to call a stored proc using SQLSourceType of Direct Input, and easily set it up to use variables...
olafhelper
Feb 06, 2023Bronze Contributor
nelcapetown With OleDB/ODBC you can use the question mark ? as parameter placeholder, in ADO.NET you can use @ named parameter like
SELECT *
FROM youTable
WHER Column = @parameter