如何将单个SSIS包部署到服务器(高手请进)

fengglory 2007-08-06 10:19:56
各位高手:
最近做SSIS包,只能用SQL Server Business Intelligence Development Studio提供的部署工具,但这个工具是将整个SSIS项部置到服务器上,当我只想部署单个SSIS包时,不知这个该怎么做!请各位告诉如何单个部署SSIS包!



...全文
2442 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
shshjun 2011-12-13
  • 打赏
  • 举报
回复
这个可以从服务器图形导入,也可以用命令行导入部署:
dtutil /DestS . /FILE "MySSIS.dtsx" /COPY SQL;"\MyProj\MySSIS" /Q

更多选择请查看dtutil的文档。
adandelion 2011-12-13
  • 打赏
  • 举报
回复
guanzhu
90后小朋友 2011-12-13
  • 打赏
  • 举报
回复
学习一下 很好的问题
唐诗三百首 2011-11-07
  • 打赏
  • 举报
回复
1.ssis项目执行成功后,在其项目bin目录下,会有一个.dtsx的文件.

2.拷贝此文件到服务器上,新建sql job,新建job step,
类别选择ssis包,然后定位到复制上去的那个.dtsx文件.

3.sql job其实设置与普通job基本相同.
wanglingzhong 2011-11-07
  • 打赏
  • 举报
回复
呃,不知你部署到服务器是文件系统还是SQL Server
单个部署的话,可以将原来的删除然后重新导入包啊
bruli 2010-11-12
  • 打赏
  • 举报
回复
Deploy SSIS Packages
This feature lets you quickly deploy SSIS packages directly from BIDS without having to create a deployment manifest and use the Package Installation Wizard.

First, right click on the project node in Solution Explorer and choose Properties.



BIDS Helper adds a custom tab to the screen that pops up. Flip to the "Deploy (BIDS Helper)" tab and edit the properties to specify how you want to deploy your solution.



The following types of deployment mechanisms are supported:
Simple File Copy - Copies packages to any windows directory.
SQL Server Destination - Copies packages into MSDB in the specified SQL Server instance.
SSIS Package Store (File System) - Copies packages into the SSIS Package Store on the file system of the specified server. (The files end up in "C:\Program Files\Microsoft SQL Server\90\DTS\Packages" by default.)
SSIS Package Store (MSDB) - Copies packages into the SSIS Package Store in MSDB on the specified server.

It is recommended that you click the Configuration Manager button in this dialog and create one Visual Studio configuration per deploy destination (i.e. Development, Staging, Production). BIDS Helper allows you to save separate deployment destination settings per Visual Studio configuration.

When you click the OK button, your BIDS Helper settings for Deploying SSIS Packages are saved into a file in the project directory called <ProjectName>.dtproj.bidsHelper.user.

Next, deploy packages by right clicking on the packages you wish to deploy in Solution Explorer and choosing Deploy. You may right click on a single package, you may Ctrl-click multiple packages then right click on them, or you may right click on the project node to deploy all packages in the project. If you have multiple projects in the solution, all of which are SSIS projects, you can right click on the solution node and deploy all packages from all projects using that menu option.

The Output window displays details about the progress of your deployment:



If deploying an entire project (via the project node menu or the solution node menu), a file is created in the OutputPath (usually the bin directory) called bidsHelperDeployPackages.bat which contains all the commands which were just used to deploy the packages. This bat file can be used as a starter for automating deployment.

Limitations:
SSIS Package Configurations are not deployed. No dtsConfig files can be deployed using BIDS Helper. BIDS Helper will not alter your packages or modify your package configurations. Package configurations should be manually setup on the destination environment before deploying your packages.
Only Windows Integrated Security is supported for deploying packages to SQL Server or the SSIS Package Store.
Packages encrypted with a password are not supported with the Deploy Packages feature unless you set DeploymentType=FilePathDestination (which is just a simple file copy that does not use dtutil and thus does not need to decrypt the package).
If you have customized your MsDtsSrvr.ini.xml, BIDS Helper does not account for this when deploying packages. Please follow and vote for issues SSIS Package Database Name and SSIS 2005 File System package store deployment if this impacts you.

Last edited May 26 at 3:48 AM by furmangg, version 6
bruli 2010-11-12
  • 打赏
  • 举报
回复
这有一个第三方工具,可以提供这样的功能

bruli 2010-11-12
  • 打赏
  • 举报
回复
http://bidshelper.codeplex.com/wikipage?title=Deploy%20SSIS%20Packages&referringTitle=Home&ProjectName=bidshelper
fengglory 2007-08-08
  • 打赏
  • 举报
回复
tom_cat007(猫)说的,应该是行不通的!你只是讲了如何在JOB中加载SSIS包,这个我知道!
我问的是:如何将本机上做的好的SSIS包单个发布到服务器上,这样不需要将整个SSIS项目发布到服务上!也会避免影响到其它的SSIS包!
请高手进来,告诉我!
tom_cat007 2007-08-08
  • 打赏
  • 举报
回复
1. 打开Management Studio 连接数据库 打开SqlServer 代理
2. 选择作业,新建作业
3. 选择步骤,新建
4. 在弹出窗口中类型选择 SSIS 包, 指定包的各种信息,包可以是数据库中的也可以是dtsx文件
5. 如果这个包是单独执行的,可以定计划,否则建议做一个维护计划,调多个作业
香椿炒鸡蛋 2007-08-07
  • 打赏
  • 举报
回复
关注。。。 写配置文件不知道可不可以
源码链接: https://pan.quark.cn/s/a4b39357ea24 在本研究中,我们将详细研究如何借助Python执行数据可视化,旨在剖析2018年期间中国四个主要城市——北京、上海、广州以及深圳的空气质量状况。通过绘制反映空气质量指数(AQI)与细颗粒物(PM2.5)变化趋势的图表,我们能够深入理解这些大都市全年的空气环境质量,并明确评估其优良天气所占的比重。 我们必须首先进行数据准备工作。在当前提供的压缩文件内,名为"2018天气"的文件极有可能是数据来源,其中可能收录了涉及四个城市每日空气质量监测的详细信息。这些数据通常涵盖日期、城市名称、AQI数值、PM2.5含量等核心参数。在Python编程环境中,我们惯常运用pandas库来对这类结构化数据进行高效的处理和分析。 1. **数据导入与初步处理**: - 利用`pandas.read_csv()`方法来导入存储为CSV格式的数据资料。 - 数据整理:对数据中的空白项、非正常数值进行修正,保证数据的精确性。 - 调整日期字段的格式,确保其能够适用于时间序列分析的需求。 2. **数据深度分析**: - 针对每个城市的AQI和PM2.5数据执行统计性描述,例如计算平均值、中位数、标准偏差等指标。 - 确定空气质量良好天气的天数,即那些AQI值低于75(依据中国的空气质量评估标准)的日数。 3. **数据呈现**: - 运用matplotlib或seaborn工具绘制折线图,直观展示四个城市在2018年全年的AQI和PM2.5变化动态。 - 可通过采用不同的颜色方案和线条类型来区分不同城市的数据系列。 - 添加必要的图示元素,如日期坐标轴、城市名称标注、图表标题及图例说明,以提升图表的可读...

22,296

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server 疑难问题
社区管理员
  • 疑难问题社区
  • 尘觉
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧