惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
A
About on SuperTechFans
Y
Y Combinator Blog
V
V2EX
Engineering at Meta
Engineering at Meta
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
博客园 - 叶小钗
博客园 - 聂微东
阮一峰的网络日志
阮一峰的网络日志
H
Help Net Security
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The GitHub Blog
The GitHub Blog
WordPress大学
WordPress大学
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MongoDB | Blog
MongoDB | Blog
B
Blog
G
Google Developers Blog
J
Java Code Geeks
博客园 - 三生石上(FineUI控件)
IT之家
IT之家
N
Netflix TechBlog - Medium
腾讯CDC

博客园 - David

TFS Server 不存在时,如何去除对应Server的Workspaces 更改已有程序集中的资源 记录:如何删除TFS Project SQL – TRUNCATE vs DELETE SQL – Character data (varchar) 又好久没写东西了! Powershell: Send mail with attachment 【Update】 - David 随感 Windows Workflow Foundation 了解 通过代码将Word 2007 template (dotx)文档转换Word 2007 (docx)文档(续) 通过代码将Word 2007 template (dotx)文档转换Word 2007 (docx)文档 创建Word2007文档而无需安装Word2007 Visual WebGUI - 如何处理MessageBox的DialogResult值 Visual WebGUI - 如何将Dialog的结果传回主窗体 Visual WebGUI Report - 导出到PDF Visual WebGUI 在 Vista IIS 7 中的配置 项目管理片语 - Schedule 在IIS 7设置ASP.NET 1.1(在Vista中使用VS2003) 给儿子的歌!
SSIS: Execute SSIS Package in command prompt 【Update】
David · 2009-06-30 · via 博客园 - David

COMMAND: "C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\dtexec.exe" /De 1234 /F D:\sample.dtsx /L DTS.LogProviderTextFile;samplelog.log /Set \package.Connections[samplelog.log].Properties[ConnectionString];D:\samplelog.log /Set \package.Connections[DestinationConnectionADONET].Properties[ConnectionString];"\"Data Source=.\SQL2K8;Initial Catalog=Northwind;Provider=SQLOLEDB.1;Integrated Security=SSPI;\""

"C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\dtexec.exe":这是32bit的DTExec Utility。如果要用64bit的话,就将路径中的(x86)删了!32bit不会和64bit一起安装的哦。除非你把BI Studio以及Management Tools都选了,那么就会32bit和64bit都有。

参数:

1、/De[crypt] password :[]中的字是可选的;password 为 1234。如果你的SSIS设置了ProtectionLevel为EncryptSensitiveWithPassword或EncryptAllWithPassword的话,那么就会这个password。

2、/F[ile] filespec :[]中的字是可选的;filespec 为 D:\sample.dtsx。

3、/L[ogger] classid_orprogid;configstring :[]中的字是可选的;classid_orprogid 为 DTS.LogProviderTextFile;configstring 为 samplelog.log。中间的‘;’是必须的哦。

4、/Set propertyPath;value propertyPath 为 \package.Connections[samplelog.log].Properties[ConnectionString];value 为 D:\samplelog.log。中间的‘;’是必须的哦。加多了一个Connection的Set Property。