从脚本任务生成sql查询并将其存储在变量中 [英] Generate sql query from script task and store it in a variable

查看:40
本文介绍了从脚本任务生成sql查询并将其存储在变量中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我使用下面的sql查询从json文件中读取数据并将数据加载到表中。我正在使用执行SQL任务来执行查询。我希望文件路径存储在变量中。我怎样才能在SSIS中做到这一点?



解决方案





https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b162adc5-8809-4eba-be22-bc75f549917e/动态文件路径功能于SSIS?论坛= sqlintegrationservices


Hi All,

I am using below sql query to read data from a json file and load data into table. I am using Execute SQL task to execute the query. I want the file path to be stored in a variable. How can i do it in SSIS?

解决方案


https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b162adc5-8809-4eba-be22-bc75f549917e/dynamic-file-path-in-ssis?forum=sqlintegrationservices


这篇关于从脚本任务生成sql查询并将其存储在变量中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆