sis动态连接 [英] ssis dynamic connection

查看:87
本文介绍了sis动态连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何建立动态连接:

场景:bag是我的文件夹名称,我每天都会得到一个文件夹,其名称类似于
c:\ bag \ 2011年5月20日
第二天c:\ bag \ 2005-05-21

如何在SQL Server 2008中加载它


谢谢
Ramesh.M

Hi,

How to make dynamic connection:

scenario: bag is my folder name and i get daily one folder with name like
c:\bag\20-05-2011
next day c:\bag\21-05-2005

How to load the it in sql server 2008


Thanks
Ramesh.M

推荐答案

您要这样说吗?

c:\ bag \ 2011年5月20日
第二天c:\ bag \ 2011-05-21 ....?

如果是,则可以使用脚本任务使用相同的连接字符串来获取具有最新修改日期的文件夹.
Do you want to say like this ?

c:\bag\20-05-2011
next day c:\bag\21-05-2011....?

If yes , then you can use the Script task to get the folder with the latest modified date using the same connection string.


这篇关于sis动态连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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