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

推荐订阅源

W
WeLiveSecurity
T
The Exploit Database - CXSecurity.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
Security @ Cisco Blogs
T
Threat Research - Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
腾讯CDC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
F
Full Disclosure
博客园 - 【当耐特】
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Threatpost
I
Intezer
V2EX - 技术
V2EX - 技术
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
小众软件
小众软件
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
B
Blog RSS Feed
Microsoft Security Blog
Microsoft Security Blog
N
News | PayPal Newsroom
MyScale Blog
MyScale Blog
AI
AI
Vercel News
Vercel News
Spread Privacy
Spread Privacy
美团技术团队
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The GitHub Blog
The GitHub Blog
V
Vulnerabilities – Threatpost
Schneier on Security
Schneier on Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
Help Net Security
Help Net Security
Hacker News: Ask HN
Hacker News: Ask HN
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
L
LINUX DO - 热门话题
U
Unit 42
L
LangChain Blog
Recent Announcements
Recent Announcements

博客园 - 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。