sql-server-data-tools

Build and Deploy SSIS packages using VSTS

試著忘記壹切 提交于 2019-12-11 09:59:00
问题 I created the simple SSIS project in VS2015 with SQL Server 2012 as a targeted server, it will worked in local machine successfully without any issues. After that I have created the build definition and release definition by following this link. For this project build will be success. But release definition failed with this “##[error]Task_InternalError Exception calling ".ctor" with "1" argument(s): Failed to connect to server DNS name label.eastus.cloudapp.azure.com,1433" error message in

Visual Studio 2019 - SSDT

情到浓时终转凉″ 提交于 2019-12-11 08:45:17
问题 I have recently installed Visual Studio 2019 and installed the "Data Storage and processing" Workload to give me access to SSDT so I can create Reporting Services Projects. When clicking File > New > Project I don't get the ability to either create SSRS/SSIS/SSAS projects? I was under the impression that these would now automatically be installed when selecting "Data Storage and processing" during the Install. How can I get these project templates installed? Thanks 回答1: As per the

Is there a way to save all queries present in a ssis package/dtsx file?

五迷三道 提交于 2019-12-11 06:41:43
问题 I need to run some analysis on my queries (specifically finding all the tables which a ssis calls). Right now I'm opening up every single ssis package, every single step in it and copy and pasting manually the tables from it. As you can imagine it's very time consuming and mind-numbing. Is there a way to do export all the queries automatically ? btw i'm using sql server 2012 回答1: Retrieve Queries is not a simple process, you can work in two ways to achieve it: Analyzing the .dtsx package XML

SSDT How to: Deploy .dacpac ignoring drop columns on target

六月ゝ 毕业季﹏ 提交于 2019-12-11 06:21:59
问题 I'm using the Database project in Visual Studio. In my scenario I have customers who intuitively customize the database I provide for them, e.g. adding some columns in existing tables, adding new tables... How can I make when deploying .dacpac these objects that are not part of my schema are not excluded? Important: Set DropObjectsNotInSource=FALSE is not working for table columns. EDIT Ed, please see if I am doing something wrong: using (DacPackage dacPackage = DacPackage.Load(DacPacFileName

Deploying SSDT project through Powershell Script: Version store out of memory error

我的梦境 提交于 2019-12-11 06:07:13
问题 Hoping someone may be able to advise what might be happening here. I am attempting to run an SSDT deployment via a Powershell script directly on the SQL Server its-self. SQL Version: 2012 (upgrade not possible at the moment) Exact error: System.Management.Automation.MethodInvocationException: Exception calling "GenerateDeployScript" with "3" argument(s): "Version store out of memory (cleanup already attempted)" Microsoft.Isam.Esent.Interop.EsentVersionStoreOutOfMemoryException: Version store

Error While Installing Sql Server Data Tools (SSDT)

笑着哭i 提交于 2019-12-11 06:04:58
问题 We've been trying to install SQL Server Data Tools and have experiencing an error preventing us from installing it and we can't figure it out. We're installing it on Windows 7 Professional and already have VS 2015 and SQL Server 2014 successfully installed. Here are the error messages that were included in the log: Automatic updates could not be paused due to error: 0x80240025. Continuing... Error 0x80072f08: Failed to send request to URL: https://go.microsoft.com/fwlink/?LinkId=817291&clcid

Visual Studio SQL Server Data Tools Comparison Mappings

扶醉桌前 提交于 2019-12-11 05:18:35
问题 Does Visual Studio SQL Server Data Tools (any version) support changing the default comparison mappings, for objects with different names, and/or in different schemas? For example, I want to compare tables in two SQL Server databases, but the tables are in different schemas in each database: database1. SchemaA .MyTable database2. SchemaB .MyTable Can these tables be compared with each other using SSDT, and if so how can I do it? I cannot find any mapping options or documentation. 回答1: As far

SSDT Unit Test:. An error occurred while SQL Server unit testing settings were being read from the configuration file

别说谁变了你拦得住时间么 提交于 2019-12-11 04:34:35
问题 I created a database project in Visual Studio 2013 professional. Then added a unit test by right click on one of the stored procedure and select Create Unit Tests . Selected to create a new VB test project. Then right click on the newly created test project and select SQL Server Test Configuration , choose localdb database and configured the project that need to be deployed. Rebuild the solution, Run All tests (two tests). Tests always fail with this error: Message: An error occurred while

Get DataType of computed column from dacpac

╄→尐↘猪︶ㄣ 提交于 2019-12-11 03:57:21
问题 When traversing a Dacpac via C# code, I am able to figure out which columns are referenced in a computed column ( GetReferenced(Microsoft.SqlServer.Dac.Model.Column.ExpressionDependencies) ), and what the expression for the column is ( Microsoft.SqlServer.Dac.Model.Column.Expression property). What I cannot find, is the datatype of the computed column. Besides that, I also cannot find a way to retrieve the columns of a FileTable table (although this is a static set of columns). Search engines

Why is my SqlPackage DeployReport returning an empty report?

我怕爱的太早我们不能终老 提交于 2019-12-11 02:55:39
问题 I'm trying to run a DeployReport action with SqlPackage.exe, but it is returning an empty report which I didn't expect since I've dropped several views and SProcs (it shows by running a Compare action in Visual Studio). According to the docs, DeployReport should DeployReport: Creates an XML report of the changes that would be made by a publish action. I'm using VS2012 against a 2008 R2 SQL server for the database project. Here's the command: SqlPackage.exe /action:DeployReport