简体   繁体   English

Visual Studio 2015中的SQL Server数据工具

[英]SQL Server data tools in visual studio 2015

I'm trying to create an SSIS package to import xml data file into sql server table. 我正在尝试创建一个SSIS包来将xml数据文件导入到sql server表中。 I have sql server 2008 R2 and visual studio professional 2015 on Windows 10 machine. 我在Windows 10机器上有sql server 2008 R2和visual studio professional 2015。 In VS Help About I can see SQL Server Data Tool 14.0.50730.0. 在VS帮助中我可以看到SQL Server数据工具14.0.50730.0。 I did an update via control panel just to be sure and the help list stayed the same. 我确实通过控制面板进行了更新,以确保帮助列表保持不变。 From loads of searching I'm guided to use New Project / Templates / Other Languages / Sql data tools - but this does not appear. 从搜索负载我被引导使用新项目/模板/其他语言/ Sql数据工具 - 但这不会出现。 Nearest I get is SQL Server/Sql Database project. 我最近得到的是SQL Server / Sql Database项目。 SSDT does not appear in my start menu program list SSDT未出现在我的开始菜单程序列表中

How do I find and run sql server data tools so I can create a package? 如何查找和运行sql server数据工具以便创建包?

You won't. 你不会。

SSIS packages are bound to the edition (or upgraded to current) of SQL Server they are created against. SSIS包绑定到它们创建的SQL Server的版本(或升级到当前版本)。

  • SQL Server 2005 uses VS 2005 to create SSIS packages. SQL Server 2005使用VS 2005来创建SSIS包。
  • 2008/2008R2 uses VS 2008. Both of those will be sourced from the SQL Server installation media. 2008 / 2008R2使用VS 2008.这两个都将来自SQL Server安装媒体。
  • SQL Server 2012 uses both VS 2010 and VS 2012 to author SSIS packages (same .dtsx file, just different color palates for designer). SQL Server 2012使用VS 2010和VS 2012来创作SSIS包(相同的.dtsx文件,只是设计师的不同颜色选择)。 This can be installed from either the installation media or by downloading SSDT-BI 这可以从安装介质安装,也可以通过下载SSDT-BI安装
  • SQL Server 2012 uses VS 2013 to author SSIS packages and now the bits only come via the download SQL Server 2012使用VS 2013来创建SSIS包,现在这些位只能通过下载来实现
  • SQL Server 2016 will use VS 2015 to author SSIS packages and, breaking with the above pattern, will be able to create SSIS packages against earlier versions. SQL Server 2016将使用VS 2015来创建SSIS包,并且打破上述模式,将能够针对早期版本创建SSIS包。 (As of this answer, 2016 is not released but the speculation is that SQL Server 2012-2016 will all be able to targeted within VS 2015). (截至此答案,2016年尚未发布,但猜测是SQL Server 2012-2016将全部能够在VS 2015中进行定位)。 These bits will also be available exclusively through download and there is a slight change in that process as you will be able to only download what you want (SSIS, SSAS, and/or SSRS) 这些位也将通过下载独家提供,并且该过程略有变化,因为您只能下载所需的内容(SSIS,SSAS和/或SSRS)

If you Biml , then while you still need multiple installations of BIDS/SSDT/VS on your machine at least the problem just becomes a matter of "recompiling" to target the version instead of hand coding it per version of SQL Server you have to support. 如果你是Biml ,那么当你的机器上仍然需要多次安装BIDS / SSDT / VS时,问题只是“重新编译”以定位版本而不是手动编码每个版本的SQL Server你必须支持。

Launching the correct visual studio 启动正确的视觉工作室

My start screen looks something like 我的开始屏幕看起来像

在此输入图像描述

Those are going to all point to the executable devenv.exe which, by default, will be in C:\\Program Files (x86)\\Microsoft Visual Studio * where you need to tie your year-version to internal number 这些都将指向可执行文件devenv.exe ,默认情况下,它将位于C:\\Program Files (x86)\\Microsoft Visual Studio * ,您需要将年份版本与内部编号联系起来

在此输入图像描述

You can find the installation locations for visual studio by issuing the following command dir /s /b devenv.exe from your C:\\ location 您可以通过从C:\\位置发出以下命令dir /s /b devenv.exe来查找visual studio的安装位置

C:\Program Files (x86)>dir /s /b devenv.exe
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe
C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE\devenv.exe
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM