sql-server-data-tools

How can I use nuget with SSDT?

ε祈祈猫儿з 提交于 2020-01-04 13:47:07
问题 I am working on an Integration Services project. One of the data sources I use calls for a package to be installed from nuget. I tried to go to "Tools > NuGet Package Manager" but it is not available in SQL Server Data Tools (SSDT). Next I tried to install nuget by downloading it from the nuget.org website. I got the following error: VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products. How can I use nuget with SSDT? 回答1: The SSIS

How Intersect and Except result in SSIS

て烟熏妆下的殇ゞ 提交于 2020-01-04 06:52:56
问题 Have Two result Set A and B, In SSIS Merge Join how get EXCEPT and INTERSECT of A result set. Bellow sql syntax return desired out put: ---Insersect select a.* from A a Inner join B b on a.Key=b.Key --Except select a.* from A a left join B b on a.Key=b.Key where b.Key is null How to get those query result from SSIS merge join 回答1: According to his Microsoft Artcile, "The Merge Join transformation provides an output that is generated by joining two sorted datasets using a FULL, LEFT, or INNER

can I use SSDT/BIDS/SSIS using SQL Server 2012 express?

陌路散爱 提交于 2020-01-03 19:05:45
问题 Ideally, I want to make SSDT/SSIS packages on my desktop PC that I can test and deploy to a production server environment. On my PC I have: Windows 7 Visual Studio 2008 Visual Studio 2010 (shell) SQL Server Express 2012 (local dev copy of prod) [supposedly] BIDS (Business Intelligence Development Studio) and SSDT (SQL SErver Data Tools) etc. On my production server I have: Windows Server 2008 SQL Server 2012 Visual Studio 2010 (shell) I cannot load/run SSIS (SQL Server Integration Services)

can I use SSDT/BIDS/SSIS using SQL Server 2012 express?

北城余情 提交于 2020-01-03 19:04:26
问题 Ideally, I want to make SSDT/SSIS packages on my desktop PC that I can test and deploy to a production server environment. On my PC I have: Windows 7 Visual Studio 2008 Visual Studio 2010 (shell) SQL Server Express 2012 (local dev copy of prod) [supposedly] BIDS (Business Intelligence Development Studio) and SSDT (SQL SErver Data Tools) etc. On my production server I have: Windows Server 2008 SQL Server 2012 Visual Studio 2010 (shell) I cannot load/run SSIS (SQL Server Integration Services)

Schema for CLR Stored Procedure During Deployment

送分小仙女□ 提交于 2020-01-03 14:05:52
问题 I'm interested in configuring Visual Studio (2010) so that when deploying C# CLR Database projects, it puts stuff in schemas other than DBO. I understand I can update the function/procedure/etc... wrappers it creates manually to make this happen: CLR Stored Procedures: how to set the schema/owner? However, I'd really like to automate the process somehow. If anybody knows, I'd really appreciate the answer! 回答1: It should be mentioned that this question is obsolete as of Visual Studio 2012

How can I conditionally include large scripts in my ssdt post deployment script?

若如初见. 提交于 2020-01-02 07:40:23
问题 In our SSDT project we have a script that is huge and contains a lot of INSERT statements for importing data from an old system. Using sqlcmd variables, I'd like to be able to conditionally include the file into the post deployment script. We're currently using the :r syntax which includes the script inline: IF '$(ImportData)' = 'true' BEGIN :r .\Import\OldSystem.sql END This is a problem because the script is being included inline regardless of whether $(ImportData) is true or false and the

Why is SSDT Schema Compare showing difference in DefaultExpressionScript?

為{幸葍}努か 提交于 2020-01-02 04:31:11
问题 While comparing Database instance to a Database project in VS2010 using SSDT, it shows a difference in one of the Stored Procedures. The Store Procedure DDL script is exactly the same but when I expanded the Properties folder under the Store Procedure it show a difference in the DefaultExpressionScript. The source SP shows this in the DefaultExpresionScript: DefaultExpressionScript = at While the destination SP has this: DefaultExpressionScript = -1 I don't see where I can change this there

Is there any way to stop SqlPackage.exe setting default Filegroup in deployment script?

允我心安 提交于 2020-01-02 03:00:12
问题 We are using Sql Server database projects to create deployment scripts from DacPac using SqlPackage.exe. We have different SQL Server Filegroups setup in various environments. When deploying we exclude Filegroups as we want objects to create in the default Filegroup. In database project settings the default Filegroup is not changed from PRIMARY. This presents a problem when attempting to deploy to an environment where the default Filegroup is not PRIMARY because the following code is included

SSDT crashes when loading SSIS packages or new project

两盒软妹~` 提交于 2020-01-02 02:04:09
问题 With the release of SSDT 2016 (GA), I've loaded SQL Server 2016 GA Developer Edition, the new SSMS 2016 stand-alone build, and even Visual Studio 2015 Update 2 (Professional edition) and Visual Studio still crashes anytime I attempt to open an SSIS package or create a new solution using the SSIS template (including the import wizard). I've reinstalled using the suggested order (SQL Server 2016, SSMS, SSDT) as well as just Visual Studio 2015 followed by SSDT. Both result in the same crash. I'm

SQL Server Data Tools 2015 installation error

↘锁芯ラ 提交于 2019-12-30 06:25:29
问题 I'm trying to install SQL Server Data Tools - Visual Studio 2015, but I keep getting an "Unspecified error". The log file is at https://drive.google.com/open?id=0B3CEKzS2Sw8OODNJOXZJVGRWQlU. I already have Visual Studio Professional 2015 installed. I want to install SSDT 2015 because my databases were recently migrated from SQL Server 2008 R2 to 2014, and I need to use SSIS. Previously, I used SQL Server Business Intelligence Development Studio to create my DTS packages, which I still have