Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ssdt]

SQL Server Data Tools is a free component of the SQL Server platform and is available for all SQL Server users. It provides a modern database development experience for SQL Server versions 2005 and up as well as SQL Azure.

0
votes
0answers
29 views

Creating Synonyms both ways

I have a database project in visualstudio, Database A and Database B. Is there anyway to create synonyms both ways for tables. Example:Creating scripts so when in Database A, tables in database B can ...
0
votes
0answers
25 views

Auto Publish Deploy same table to different Schema in Database Project

We have a table in stage schema called: staging.Customer, containing all the new incremental customers added recently in the system. The data gets inserted into table called dbo.Customer which has ...
0
votes
0answers
15 views

Publish Profile Database Items by Schema

Currently using VS SSDT, Does sql package.exe or Visual Studio SSDT have a publish profile option parameter for schemas? We only want to deploy and publish certain schemas. Eg, we have table dbo....
0
votes
0answers
26 views

Deploy one object in database without Whole Publish Profile

We are using SSDT Visual Studio Database projects. I modified single table (eg added column, etc), and want to deploy new table in two Dev/QA instances. I do Not want to publish other changes in the ...
0
votes
1answer
47 views

Install SSDT for VS 2017 - Missing Integration Services

I have downloaded and installed SSDT from Microsoft docs. The install was successful and I now have SSDT for VS 2017 installed - version 15.8.9 (as per screenshot) However, I cannot create an SSIS ...
1
vote
1answer
152 views

Visual Studio SSDT Ignore Query Store Options in Publish Profile

Is there any way in Visual Studio SSDT Publish Profile, to Totally Ignore Query Store Options Completely? It keeps asking us to Rerun publish code below. I go to Database advanced settings, and turn ...
3
votes
1answer
60 views

SQL Visual Studio Find and Replace in Publish Profile

We have source control in Visual Studio Database Projects (SSDT). To make cross database references, we utilize something like this below in Project References. We need Project references, since ...
5
votes
0answers
96 views

Reinitialize Table Values in SQL SSDT Unit Testing

I am creating SQL Server Unit Tests. We are testing various stored procedures. In Unit testing principles, it is good practice to setup a small database table, populate values, and tear down (...
2
votes
1answer
46 views

Make SQL Server SSDT Database Project Reference Different in Publish Profile

In a SSDT Database project, I know how to publish the Self-Database to different locations. I can change eg, the Customer database name in the Publish profile. Example In: Dev Environment: will ...
1
vote
0answers
35 views

View with OPENQUERY won't build in SSDT project

I have an existing database that I'm trying to set up as a database project. I'm not able to get the following statement to build: CREATE view [dbo].[VW_SOMEVIEW] as SELECT * FROM OPENQUERY ([...
1
vote
1answer
92 views

How to read data from multiple Excel files with SQL Server Integration Services(New Senario)

Hope you're doing well. I have a scenario here. As you can see I have a table with two main columns : What I need is to read each "FilePath" which is "Active" right now and then read the Excel files ...
0
votes
1answer
104 views

How do I compare Schemas for Multiple Databases to a True Copy?

We have a database for each customer, over 700 databases. All the schemas are supposed to be exact same. We have Source Control database, and want to schema compare to the 700. Sometimes schema in ...
0
votes
1answer
77 views

SSDT - Deprecated table trigger preventing publish

There is a table trigger that was removed in the past that is blocking SSDT publish preview: This deployment may encounter errors during execution because changes to [table] are blocked by [trigger]'...
2
votes
2answers
229 views

SSDT Drop and Recreate Tables when nothing has changed

We have a Visual Studio Database Project consisting of about 129 Tables. It is the primary database for our Internal Web Based CRM/Call Centre product, which is still under active development. We ...
0
votes
1answer
33 views

How to find the erroneous code failing the SSDT publish?

Every time something fails the publish, assuming it passes the preview generation, the error line and executed script sample are completely useless at helping me trace the source of the error, since ...
1
vote
1answer
88 views

SQL SSDT Database Projects: Source Control Lookup Data

Does SQL Server SSDT Visual Studio 2017 Database Projects support Source control data for lookup tables, or do we still have to utilize messy Post-Deployment Merge Scripts for multiple tables? ...
0
votes
0answers
80 views

SSIS Microsoft.SQLServer.DTSPipelineWrap.dll not found

I'm trying to build a SSIS package from an external application but I'm getting the following error: Internal Error - Build package for XXXX failed Could not load file or assembly 'Microsoft....
1
vote
2answers
1k views

How to rollback a SQL Server transaction and use output param?

I am trying to set an output param in a stored procedure, but I think that when I rollback the transaction I think I'm also rolling back the assignment to @out. Is that correct? If so, how can I ...
5
votes
1answer
478 views

SQL Server - Adding non-nullable column to existing table - SSDT Publishing

Due to business logic, we need a new column in a table that is critical to ensure is always populated. Updating existing references that insert/update is difficult but doable, but ensuring future code/...
1
vote
1answer
81 views

SSMS 10.5 alongside 17.7

To set the scene, I maintain 4 local SQL Server 2008 R2 instances. At some point in the near future, 3 of these will be upgraded to SQL Server 2017 and migrated to azure. I am currently using SSMS ...
0
votes
0answers
69 views

Set FILESTREAM DIRECTORY_NAME value via SqlCmd variable in SSDT database project

Following on from a previous question I've run into an issue when using database variable references in my project due to the error: FILESTREAM DIRECTORY_NAME 'FooBar' attempting to be set on ...
2
votes
0answers
80 views

SQL Server - How to track down error thrown in SSDT publish preview?

Without flailing through a file search, how does one track down the code that caused an error during SSDT publish preview? Normally any errors come later such that the statement can be traced in the ...
0
votes
0answers
98 views

Suggestion about SSIS deployment environment

I don't know if my question belongs here or is more fitting for ServerFault, I'll start from here because it has to do with Sql Server (especially with Integration Services). I am developing an ...
1
vote
2answers
56 views

Dev/Test Environment For Databases With Cross-Database Joins

We have existing databases under source control in SQL Server Database Projects with a number of these databases referencing each other. Getting these into projects and source control was challenging ...
2
votes
1answer
293 views

Dacpac deployment via sqlpackage, “DropObjectsNotInSource=True” is trying to drop .mdf & .ldf

Powershell deployment script: Executing: C:\Program Files (x86)\Microsoft SQL Server\110\DAC\bin\sqlpackage.exe /Action:Publish /SourceFile:********.dacpac /Profile:Release.Publish.xml /...
1
vote
1answer
55 views

SSDT: Requires Visual Studio? Requires connection to SQL Server? (SQL Server 2016)

I need to make some SSIS workflow packages. I see I can do this in SSDT. I have not used SSDT before. It appears that SSDT installs into Visual Studio. OK, I can do that. (I have VS 2015 installed.) ...
1
vote
1answer
169 views

SSIS convert flat file cell to HH:MM:SS

I see similar questions, but most have to do with datetime or fairly different requirements. I have a CSV report that has a time column stored as HH:MM[:SS] (if over 1 day, it adds :00 for seconds... ...
2
votes
1answer
18 views

How is SSDT Data Flow batching handled?

How does SSDT handle batching of Data Flow tasks? I am parsing a CSV that is about 1GB into SQL Server using SSDT. In the Data Flow there is a Flat File source, that goes to an OLE DB destination (a ...
0
votes
0answers
198 views

Integration Services Deployment Problems With VS2017/SSDT 15.5.1

I have an Integration Services Project in Visual Studio 2017 with SSDT 15.5.1 that targets SQL Server 2012 that will not deploy due to out of memory errors despite having plenty of available memory. ...
1
vote
0answers
275 views

SQL Server Data Tools 15.5.0 - Script Component Validation Error

When trying to use the script component in an SSIS dataflow I am getting a validation error meaning the script and my package will not work: Severity Code Description Project File Line ...
2
votes
0answers
243 views

How Can I Ignore Partition Schemes in my VS SSDT Database Project

We use SSDT in VS 2015 to manage our database project code. Recently, we've been implementing partitioning on some tables in databases that are managed with SSDT. I need to include the partition ...
1
vote
0answers
70 views

Builds and deployments to 300+ databases utilizing SSDT/VSTS

I have built a database project within SSDT for Visual Studio 2017. I have also created Publish profiles that succesfully deploy to our dev, QA, staging, and production databases with no issue, ...
2
votes
1answer
220 views

SSIS Failed foreign key constraint

I'm loading 2 csv files into 2 tables in SQL Server Data Tools using SSIS, and the 2nd one is connected to the 1st via a foreign key constraint. The problem is that a row of the 2nd table has a key ...
2
votes
0answers
168 views

Option to uncheck all or invert selection in SSDT? [closed]

In SQL Server Data Tools (SSDT) after compared the schema, I want to update few changes of mine only (as red-circled in the screenshot). But there are many other changes are listed in the window, I ...
1
vote
1answer
309 views

SSDT Publish fails because 'System.DirectoryServices' failed verification

Imported an existing database (SQL2012) to an SSDT project in VS2017 and when trying to deploy it to my local instance (SQL2016) I get the error message: CREATE ASSEMBLY for assembly 'System....
0
votes
1answer
184 views

How to avoid dropping schemas when publishing DB in SSDT Database project

When publishing a database from SSDT, there are several options to "do not drop" an object if it is not in the SSDT project. However, it seems that there is no option to avoid dropping schemas. Do ...
4
votes
1answer
223 views

What do most people use to work with SSIS packages since VS2015 UI is buggy?

I don't think I can post bugs on Microsoft connect. I'm trying to use SSDT on VS community edition. And the UI is terribly buggy. Here are some screenshots: The Enumerator properties manager is just ...
0
votes
2answers
704 views

Red Gate SQL Prompt in Visual Studio not working?

I have tried out SSDT Database project in Visual Studio, and with the SQL Prompt solution from Red Gate. It seems that the intellisense only works for SQL keywords like SELECT, WHERE etc, it does not ...
3
votes
2answers
707 views

What is SSIS in relation to SQL Server?

I'm finding acronomes such as 'SSIS', 'SSDT', etc etc a little confusing as to how they related to SQL Server. It seems to me that SQL Server implements the T-SQL language, and that a package such as '...
5
votes
1answer
2k views

SQL Server Data Tools for VS 2015 - Anyone using for SSIS development to multiple versions?

According to this link, https://www.mssqltips.com/sqlservertip/4253/backwards-compatibility-in-sql-server-data-tools-for-integration-services/ the newest version of SQL Server Data Tools - "SSDT for ...
1
vote
1answer
139 views

page_verify none by default

I am reviewing freshly generated scripts out of SSDT publish tools. These projects were built from a default template, as were the publication profiles. They set page_verify none for the database. ...
1
vote
2answers
490 views

SSDT publish multiple referenced database projects to new instance

I am going through the process of importing our existing SQL Server databases into SQL Server Data Tools in Visual Studio 2015 with the aim of putting them under version control. All the database ...
0
votes
1answer
795 views

Data Migration and altering tables in one SSDT deployment script

I'm using SSDT and MS SQL Server 2012. And I need to handle next cases in one deployment script: --1 CREATE TABLE Table1 (Col1 INT) --2 INSERT INTO Table1(Col1) SELECT SomeCol FROM SomeTable --3 ...
2
votes
1answer
2k views

installing SSDT

I am preparing the MCSA 70-763 exam. I need to install the SSDT to deploy my pacakges into sql server. I am beginner and have 0 experience with VS and SSDT. When I tried to install SSDT from Sql ...
1
vote
1answer
365 views

Visual Studio SSDT Unresolved reference to SSISDB

I have a stored procedure in Visual Studio SSDT Project which use SSISDB database. And I get a warnings like "unresolved reference to SSISDB". I tried to create a new reference but I can only select "...
1
vote
1answer
846 views

How to refresh reference to objects in Visual Studio SSDT?

I have an issue related to missing reference to tables or views which exist in Visual Studio SSDT. For example I have two SSDT projects. One for database X second for database Y. In project X I've ...
3
votes
1answer
1k views

SSDT slow locally

When I use SSDT to update my local DB, it takes 3 minutes, during which Visual Studio is thrashing the CPU. When I use it from my computer to update an identical remote DB, it takes only half a minute,...
0
votes
2answers
529 views

Why does SSDT deploy inline FK Constraint as WITH NOCHECK?

Given the following Foreign Key Constraint definition inline of a Create Table definition in a SSDT project: CREATE TABLE A (...Columns...), CONSTRAINT [FK_O] FOREIGN KEY ([OID]) REFERENCES [dbo].[O] ...
0
votes
1answer
517 views

Enable Service Broker when deploying solution

I'm having an issue deploying the latest build of a database solution after creating some service broker objects. I am thinking that it could be related to not having service broker enabled on the ...
0
votes
1answer
494 views

SQLPackage.exe not picking up changes

I'm trying to get SQLPackage for schema compare working from CMD line. Have to compare a master db to 300 live dbs. All 2014 SQL and none registered as data-tier applications. PowerShell and 3rd ...