pass input parameters to stored procedure from sql table

白昼怎懂夜的黑 提交于 2021-02-10 16:40:50

问题


i want to pass input parameters like start date and end date in the table T1 and pass to stored procedure SP1 from T1.is it possible,and also i want to execute this sp in c# script task in ssis.Thanks


回答1:


Check this out for both : with '?'s and with C# https://www.simple-talk.com/sql/ssis/passing-variables-to-and-from-an-ssis-task/




回答2:


Hi i have sort out the problem initially i took the execute sql task and select the values from the table and store those value in the result set an after that i have taken dataflow task and oled source connection and execute the sp in that and pass the earlier result set values to the stored procedure and execute it and store the rsult in the one sql table.



来源:https://stackoverflow.com/questions/17173889/pass-input-parameters-to-stored-procedure-from-sql-table

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!