sql-server-data-tools

Visual Studio 2013 Publish Database to Azure

↘锁芯ラ 提交于 2019-12-01 13:58:33
问题 I have created a new "Database" project in Visual Studio 2013. I have set the Target platform to "Windows Azure SQL Database". The project is nearly empty, with the exception of one .sql file to create a Schema. When I try to publish the project, it takes several minutes and ends with: Creating publish preview... Failed to import target model [database_name]. Detailed message Unable to reconnect to database: Timeout expired. The timeout period elapsed prior to completion of the operation or

SSDT in Visual Studio 2015 Oracle Connection Issue

*爱你&永不变心* 提交于 2019-12-01 09:14:52
I am trying to setup SSDT so that I am able to run reports locally and edit them in Visual Studio. I have a previous report that I know works. I have installed the Oracle Developer Tools for Visual Studio 2015. I can configure the dataset and have tested the connection my Oracle Database,It works. When I preview the report I can input my parameter but when I click view report I get the following error. An error occurred during local report processing. An error has occurred during report processing An attempt has been made to use a data extension 'ORACLE' that is either not registered for this

SSDT in Visual Studio 2015 Oracle Connection Issue

半城伤御伤魂 提交于 2019-12-01 07:12:18
问题 I am trying to setup SSDT so that I am able to run reports locally and edit them in Visual Studio. I have a previous report that I know works. I have installed the Oracle Developer Tools for Visual Studio 2015. I can configure the dataset and have tested the connection my Oracle Database,It works. When I preview the report I can input my parameter but when I click view report I get the following error. An error occurred during local report processing. An error has occurred during report

SFTP file transfer in SSIS

牧云@^-^@ 提交于 2019-12-01 04:38:07
I've read a whole bunch of different forums on this but cant seem to get mine to work. I need to transfer a file from my local machine to an SFTP server using SSIS. Here is what I've already done: I downloaded WinSCP Created a saved connection in WinSCP ( TS_NEW ) Open up that saved connection (to verify) Copied WinSCP.exe and WinSCP.com to the SSIS project folder Created Text file with the below script. option batch on option confirm off open sftp://TS_NEW.com cd C:\Users\zaccheut\Documents\Analytics Project 2018\ThoughtSpot\SSIS File option transfer binary put FCT_DC_MONTH.csv /export/xvdb1

What dacpac stands for?

和自甴很熟 提交于 2019-12-01 04:01:21
In Visual Studio 2012 we have new project type called SQL Server Database Project and when compiled will create a .dacpac output file. A Google for this term will link it with Data-tier Application but I cannot link this name with D A C P A and C !? What dacpac stands for? DAC stands for Data-tier Application PAC stands for package So to my thoughts, DACPAC stands for Data-tier Application package First off: read this . dacpac is a Data-tier application. More concretely, it is the file that gets created when you build a SQL Server Database Project. It contains all of the information necessary

SSDT(SQL Server Data Tools) Missing from Visual Studio 2015

℡╲_俬逩灬. 提交于 2019-12-01 03:26:43
I've installed Visual Studio 2015, but the ssdt features are missing as you can see below I checked the ssdt option at the setup, and the only thing i did was change the default installation directory from c:/ to d:/ (don't know if it changes anything). When i use the Typical installation, ssdt installs fine, but it installs VS at c:/, and i need it installed at "D:/" ... Here is a screenshot of my VS Setup How can i have SSDT features back? EDIT: To solve my problem i did the fist part of the third step at this link , which was: Download the appropriate version of SSDTSetup.exe for your

Avoid schema mismatch in System-Versioned tables

天涯浪子 提交于 2019-12-01 03:26:40
Looking for a workaround for: Error: SQL71609: System-versioned current and history tables do not have matching schemes. Mismatched column: 'XXXX'. When trying to use SQL 2016 System-Versioned (Temporal) tables in SSDT for Visual Studio 2015. I've defined a basic table: CREATE TABLE [dbo].[Example] ( [ExampleId] INT NOT NULL IDENTITY(1,1) PRIMARY KEY, [ExampleColumn] VARCHAR(50) NOT NULL, [SysStartTime] datetime2 GENERATED ALWAYS AS ROW START HIDDEN NOT NULL, [SysEndTime] datetime2 GENERATED ALWAYS AS ROW END HIDDEN NOT NULL, PERIOD FOR SYSTEM_TIME (SysStartTime,SysEndTime) ) WITH (SYSTEM

SSDT failing to publish: “Unable to connect to master or target server”

时光总嘲笑我的痴心妄想 提交于 2019-12-01 02:02:07
问题 I'm attempting to use SSDT to publish to a SQL Server database in Azure. When I do so, I am seeing the following error: Unable to connect to master or target server 'DATABASE_NAME'. You must have a user with the same password in master or target server 'DATABASE_NAME'. Ignoring the fact that it's listing a database name as the server name in the error, I'm not sure how to resolve it. When I specify the target database, I can successfully Test Connection. I can also connect using the same

What dacpac stands for?

梦想与她 提交于 2019-12-01 02:00:28
问题 In Visual Studio 2012 we have new project type called SQL Server Database Project and when compiled will create a .dacpac output file. A Google for this term will link it with Data-tier Application but I cannot link this name with D A C P A and C !? What dacpac stands for? 回答1: DAC stands for Data-tier Application PAC stands for package So to my thoughts, DACPAC stands for Data-tier Application package 回答2: First off: read this. dacpac is a Data-tier application. More concretely, it is the

SQL Database Project: build different scripts depending on build configuration

ε祈祈猫儿з 提交于 2019-11-30 15:31:05
The problem I want to solve is to build different scripts depending on build configuration. Say we have two instances of SQL Server: Enterprise version with connected Linked servers LocalDb version for offline developing and unit tests Enterprise version has views for Linked servers when LocalDB substitues those views with local tables. Those Linked Server views and local tables have the same names and set of fields. So they are not included in build by default (Build Action = None). Instead they are included in build in BeforeBuild Target of the project file. <Target Name="BeforeBuild">