我們有一些舊的Microsoft SQL Server 2000 DTS包文件(具有dts擴展名)。
我需要將舊的DTS包文件導入Microsoft SQL Server 2008 Management Studio。與舊的Microsoft SQL Server 2000 DTS包文件的向後兼容性問題
我閱讀下面的指南,但我無法找到Microsoft SQL Server中的管理文件夾2008 Management Studio的對象資源管理器視圖下的任何遺留的文件夾:
http://technet.microsoft.com/en-us/library/cc645945(v=sql.105).aspx
我需要導入Microsoft SQL Server 2000 DTS包文件導入Microsoft SQL Server 2008 Management Studio。
請建議我怎麼能解決這個問題
跟進我的經驗中導入DTS包到我的Microsoft SQL Server 2008的DTS包文件:
管理DTS包在SQL Server Management Studio中要求SQL Server 2000數據轉換服務(DTS)運行時。要在SQL Server 2008 R2安裝媒體上安裝DTS運行時,請找到並運行Windows Installer程序包以獲取SQL Server 2005向後兼容性(SQLServer2005_BC * .msi)。您也可以從Microsoft下載中心的SQL Server Feature Pack頁面下載DTS運行時。 (Microsoft.SqlServer.DtsObjectExplorerUI)
項目地點:
在Microsoft.SqlServer.Dts.ObjectExplorerUI.PackageUtils.LoadPkgInfoFromStorageFile(字符串sUNCPath) 在Microsoft.SqlServer.Dts.ObjectExplorerUI.LegacyActionBase.ShowPkgBrowser (字符串& sPackageName,字符串& sPackageID,字符串& sPackageVersionID,StorageLocation位置,字符串sPackagePathName)
http://msdn.microsoft.com/en-us/library/bb500440%28v=sql.105%29.aspx
支持SQL Server 2000和的DTS在SQL Server 2008 R2 SQL Server 2008 R2的 其他版本 4/6個額定這是很有幫助的 - 評價此主題
儘管SQL Server 2000數據轉換服務( DTS)已棄用,SQL Server 2008爲通過使用DTS工具和對象模型創建的包提供可選的32位管理,運行時和設計時支持。 (有關DTS棄用的更多信息,請參閱數據轉換服務(DTS)。) 注意注意
對於SQL Server 2008 R2,本主題中列出的內容沒有任何更改。 重要提示重要注意事項
本主題中介紹的功能(包括對DTS軟件包的運行時支持)需要手動安裝在安裝期間不可用的其他可選組件。有關詳細信息,請參閱本主題後面的「安裝DTS包的運行時支持」和「安裝DTS包的設計時支持」部分。
請注意並非所有DTS功能都支持所有情況。以下各節將詳細介紹SQL Server 2008中支持哪些DTS功能。在64位操作系統上 有限公司SQL Server 2000的DTS功能
SQL Server 2008不包括在以下情況下支持DTS:
There is no 64-bit design-time or run-time support for DTS packages. On a 64-bit computer, DTS packages, and Integration Services packages that run DTS packages, can run only in 32-bit mode. For more information, see How to: Install Support for Data Transformation Services Packages.
There is also no 32-bit design-time or run-time support for DTS packages on Itanium-based operating systems. Therefore, you cannot create, view, modify, or run DTS packages on Itanium-based operating systems.
支持SQL Server 2000的DTS功能
SQL服務器2008包括對以下DTS功能的支持:
The DTS runtime, the object model that it exposes, and the dtsrun.exe command prompt utility.
The Execute DTS 2000 Package task, for executing DTS packages within Integration Services packages.
The ActiveX Script task, for backward compatibility only.
The DTS Package Migration Wizard, for migrating DTS packages to the Integration Services package format.
The Upgrade Advisor rules for DTS packages, for identifying potential issues that may be encountered when migrating packages.
重要說明重要事項
當您選擇Integration Services進行安裝時,將安裝執行DTS 2000軟件包任務,ActiveX腳本任務和DTS軟件包遷移向導。但是,如果沒有手動安裝在安裝過程中不可用的其他可選組件,則這些組件不能完全正常工作。有關詳細信息,請參閱本主題後面的「安裝DTS包的運行時支持」一節。
本主題的其餘部分詳細討論了SQL Server 2008支持的DTS功能。使用下面的鏈接快速連接到這個內容:
一般信息
General compatibility between DTS and SSIS
Managing DTS packages
設計和運行DTS包
Installing run-time support for DTS packages
Running DTS packages at the command prompt
Running DTS packages from SQL Server Agent jobs
Running DTS packages from Integration Services packages
Installing design-time support for DTS packages
DTS包遷移
Migrating DTS packages
Migrating dtsrun commands to dtexec commands
有限支持
Support for ODBC data sources
Support for Repository packages
Support for DTS Packages in SQL Server Express
SQL Server 2000的DTS和集成服務
DTS和集成服務之間的兼容性一般是完全不同的產品。 Integration Services不是從DTS升級的版本。因此,DTS和Integration Services之間沒有軟件衝突。您可以執行以下步驟:
Install both DTS and Integration Services on the same server.
Run both DTS and Integration Services packages on the same server. Even if the SQL Server 2000 tools are not present on the server, you can run DTS packages by using the updated version of the DTS runtime that is installed with Integration Services.
Save DTS packages in the msdb database of an instance of SQL Server 2000, or an instance that is running SQL Server 2005 or a later version. However, you can save SQL Server 2008 Integration Services packages only on an instance that is running SQL Server 2008.
Use an optional download of the DTS Designer to modify DTS packages even if the SQL Server 2000 tools are not present on the computer. However, you cannot open or modify DTS packages directly in Business Intelligence Development Studio.
NoteNote
For information about how to download the updated version of the DTS Designer, see the section, Installing Design-time Support for SQL Server 2000 DTS Packages.
當你升級SQL Server到SQL Server 2008的現有實例,系統表(例如,sysdtspackages)認爲DTS在msdb數據庫使用保持不變。 DTS包不會自動遷移。有關如何遷移軟件包的信息,請參閱遷移DTS軟件包部分。與返回TOP清除用於本節 管理SQL Server 2000 DTS包
你作爲一節中所述安裝DTS的可選運行時支持之後的頂部
箭頭圖標,「安裝運行 - 實時支持DTS軟件包「,您可以從SQL Server Management Studio管理DTS軟件包。這些DTS包可以存儲在SQL Server 2000的實例中,或者導入並存儲在運行SQL Server 2005或更高版本的實例中。 重要提示重要提示
有關如何保護DTS包的重要信息,請參閱保護存儲在SQL Server中的DTS包。
要在Management Studio中查看DTS包,首先連接到SQL Server實例。 (不要連接到Integration Services實例)然後,在管理\遺留\數據轉換服務節點下的對象瀏覽器,你就可以執行以下任務:
When you select the Data Transformation Services node in Management Studio, you can view and open packages, import them to SQL Server from structured storage files, or start the DTS Package Migration Wizard.
When you select an individual DTS package in Management Studio, you can open the package to modify it, migrate it, export it to a structured storage file, or delete it.
NoteNote
To open or modify DTS packages, a separate download of the DTS designer components is required. See the section, Installing Design-time Support for SQL Server 2000 DTS Packages. DTS packages cannot be opened or modified directly in BI Development Studio.
的集成服務數據庫級別角色授予msdb數據庫中Integration Services系統表的權限,但不授予DTS系統表(例如msdb數據庫中的sysdtspackages)權限。您必須授予用戶DTS系統表的權限,然後才能執行某些管理任務,例如在Management Studio中導入DTS包。有關Integration Services數據庫級角色的信息,請參閱使用Integration Services角色。與返回TOP清除用於本節 爲SQL Server安裝運行時支持2000 DTS包
儘管可以在同一臺計算機上運行DTS包和Integration Services包,SQL頂部
箭頭圖標Server 2008不安裝運行時支持DTS包。您必須先安裝此運行時支持,然後才能運行和管理DTS包。有關如何安裝DTS運行時支持的信息,請參閱如何安裝數據轉換服務包支持。
爲DTS包提供運行時支持的向後兼容性文件還包括對SQL Server 2000 Analysis Services處理任務及其依賴項決策支持對象(DSO)的運行時支持。但是,向後兼容性文件不包括修改包含SQL Server 2000 Analysis Services處理任務的DTS包的設計時支持。只有當您在同一臺計算機上安裝了SQL Server 2000 Analysis Services時,纔可以修改包含此任務的軟件包。
爲DTS包提供運行時支持的向後兼容性文件不包括對SQL Server 2000數據挖掘預測查詢任務的支持。與返回TOP清除用於本節 運行SQL Server的頂部
箭頭圖標命令2000 DTS軟件包提示
您可以在命令提示符下運行DTS包。 Integration Services在安裝DTS運行時支持時安裝dtsrun.exe實用程序。與返回TOP清除用於本節 頂部從SQL Server代理運行SQL Server 2000 DTS包喬布斯
從SQL Server代理作業運行的DTS包
箭頭圖標,你必須設置工作步驟操作系統(CmdExec)並使用dtsrun實用程序(dtsrun.exe)來運行該程序包。您不能將作業步驟設置爲SQL Server Integration Services包。有關更多信息,請參閱如何:運行程序包。與返回TOP清除用於本節 從集成服務運行SQL Server 2000 DTS包的頂部
箭頭圖標包
您還可以運行DTS包作爲一個集成服務包的一部分。 Integration Services提供用於在Integration Services包中運行DTS包的執行DTS 2000包任務。有關更多信息,請參閱執行DTS 2000軟件包任務。與返回TOP清除用來頂本節 的SQL Server的安裝設計時支持
DTS包不能被打開,或直接在Business Intelligence Development Studio中修改2000 DTS軟件包
箭頭圖標。另外,無論是SQL Server 2008還是SQL Server 2005,都不會安裝用於修改DTS包的DTS包設計器。但是,您可以下載並安裝DTS包設計器,並使用它來修改DTS包。有關如何安裝DTS包的設計時支持的信息,請參閱如何安裝對數據轉換服務包的支持。安裝此下載後,您可以從Management Studio或Business Intelligence Development Studio中的執行DTS 2000軟件包任務編輯器查看和修改DTS軟件包。
有關如何管理影響DTS設計環境的某些DTS應用程序屬性的信息,請參閱設置DTS應用程序屬性。與返回TOP清除用於這一部分的頂部 遷移SQL Server 2000和的DTS包
SQL Server提供的DTS包遷移向導遷移DTS包到Integration Services包格式
箭頭圖標。當您選擇Integration Services進行安裝時,安裝程序還會安裝DTS軟件包遷移向導。您可以選擇使用DTS包遷移向導將DTS包升級到Integration Services格式。在遷移過程中,嚮導會複製DTS包,然後以Integration Services格式重新創建它們。源代碼包保持不變並且未被修改。 注意注意
DTS包遷移向導在以下版本的SQL Server中可用:Standard,Enterprise和Developer。
許多軟件包可以完全遷移到Integration Services,特別是使用任務,連接和Integration Services中具有等效功能的其他對象的DTS軟件包。其他軟件包可以通過封裝無法在執行DTS 2000軟件包任務中遷移的某些任務或功能來成功遷移。有關更多信息,請參閱遷移數據轉換服務包。
在運行DTS軟件包遷移向導之前,您可能需要安裝並運行Upgrade Advisor以分析現有軟件包中的遷移問題。有關更多信息,請參閱使用升級顧問準備升級。 注意
升級顧問程序無法分析,並且DTS軟件包遷移向導無法遷移保存在SQL Server 7.0實例的msdb數據庫中的DTS軟件包。但是,Upgrade Advisor可以分析並且DTS包遷移向導可以遷移SQL Server 7.0 DTS包,這些包將保存爲結構化存儲文件。另外,Upgrade Advisor可以分析並且DTS包遷移向導可以遷移SQL Server 7.0 DTS包,這些包保存在已升級到SQL Server 2005或更高版本的SQL Server 7.0實例的msdb數據庫中。
與返回TOP清除用於本節 遷移命令行的頂部執行套餐要了解
箭頭圖標如何爲SQL Server 2000 DTS DTSRUN實用程序的命令行選項(dtsrun.exe)映射到Integration Services dtexec實用程序(dtexec.exe)的選項,請參閱將dtsrun選項映射到dtexec選項。與返回TOP清除用於本節 支持ODBC數據源
的頂部加載或數據保存到ODBC數據源
箭頭圖標,你可以使用ADO.NET源或目標並選擇用於ODBC的.NET Framework數據提供程序。還可以使用腳本組件創建臨時ODBC源或目標以在單個程序包中使用。有關更多信息,請參閱使用腳本組件創建ODBC目標。與返回TOP清除用於本節 支持元數據服務(庫)的頂部
箭頭圖標包
SQL Server 2000元數據服務,通常被稱爲庫,是一個過時的組件。 SQL Server 2005和更高版本不安裝或使用存儲庫。
DTS設計器和dtsrun實用程序繼續支持保存到存儲庫的DTS包。
Integration Services僅在升級顧問和DTS軟件包遷移向導中支持存儲庫,並且只有在本地計算機上安裝了存儲庫可再發行文件時。 (當計算機安裝了SQL Server 2000或SQL Server 2000工具時,通常會顯示這些文件。)當Repository可再發行文件存在時,Upgrade Advisor可以掃描,並且DTS包遷移向導可以遷移,DTS包是保存到知識庫。當存儲庫可再發行文件不存在時,Upgrade Advisor和DTS軟件包遷移向導只能用於保存到SQL Server或結構化存儲文件的DTS軟件包。
Integration Services執行DTS 2000包任務無法運行已保存到存儲庫的DTS包。但是,SQL Server 2000 DTS運行時可以運行這樣的程序包。因此,有一個集成服務包運行存儲在存儲庫中的DTS包,請按照下列步驟操作:
Make sure that the Repository files are installed on the computer that is running the Integration Services package. To install the Repository files, install SQL Server 2000, the SQL Server 2000 tools, or the Repository redistributable files on the local computer
Create a new DTS package to act as a wrapper for the DTS package that is stored in the Repository. In this DTS wrapper package, use an Execute Package task to execute the package that is stored in the Repository. Save this wrapper package to SQL Server or as a structured storage file.
Use an Execute DTS 2000 Package task in the Integration Services package to run the new DTS wrapper package.
與返回TOP清除用於本節 支撐的頂部爲SQL Server 2000
箭頭圖標SQL Server Express中的DTS包
SQL Server Express不包含Integration Services,也不支持DTS包。但是,可以由使用下列方法之一運行的SQL Server Express與服務器上的DTS包工作:與返回TOP清除用於這一部分的頂部
To run existing DTS packages on a server that is running SQL Server Express, you need the DTS runtime on the server. Although SQL Server Express does not include the DTS runtime, you can install the DTS runtime on the server by either installing the SQL Server 2000 client tools or the DTS redistributable files.
To modify existing DTS packages on a server that is running SQL Server Express, you can use the SQL Server 2000 tools. You can also modify the packages remotely in SQL Server Management Studio on a server that is running one of these versions of SQL Server: Workgroup, Standard, Enterprise, or Developer. SQL Server Express does not include SQL Server Management Studio.
To migrate existing DTS packages to Integration Services, you need the DTS Package Migration Wizard that is installed with Integration Services. SQL Server Express does not include this wizard. To run the wizard, you can use one of these versions of SQL Server: Standard, Enterprise, or Developer.
箭頭圖標
集成服務圖標(小)熬夜與集成服務
For the latest downloads, articles, samples, and videos from Microsoft, as well as selected solutions from the community, visit the Integration Services page on MSDN:
Visit the Integration Services page on MSDN
For automatic notification of these updates, subscribe to the RSS feeds available on the page.
請參閱日期還有 概念 已知的DTS包遷移問題 映射DTSRUN選項DTE xec選項 設置DTS應用程序屬性 64位Integration Services的注意事項
可悲的是,我的本地開發計算機是64位的Windows 7計算機與Microsoft SQL Server 2008安裝了數據庫,並根據MSDN支持webapages說什麼,我無法安裝的Microsoft SQL Server我的本地開發計算機上的向後兼容功能。任何建議? – user1338998
檢查帖子中的更新 –