sql-server-data-tools

How to rename table using SSDT in Visual Studio

我怕爱的太早我们不能终老 提交于 2019-12-06 21:58:09
问题 I am using visual studio 2013 and trying to learn local database operations. I have created a database using VS and create tables. But I cannot rename table names. There is no such a option anywhere or I cannot see. I searched but find nothing. Could anyone show me how to rename table using 'VISUAL STUDIO 2013 SSDT' 回答1: Open the table, highlight the table name in the T-SQL portion of the window, click the SQL menu, then choose Refactor and Rename. You probably want to preview changes while

SQL72007: The syntax check failed 'Unexpected end of file occurred.' in batch near :

断了今生、忘了曾经 提交于 2019-12-06 21:31:59
问题 In SSDT project (using VS2017/VS2015, SSDT version 15.1.61702.140), I cannot get my project to build. The compiler keeps complaining about the sql statement in my PostDeploymentScript (yes, I have set the BuildAction property to PostDeploy). The sql statement is: if ('$(env)' = 'dvp') BEGIN PRINT 'creating users for dvp' :r .\SecurityAdditions\usersdvp.sql END ELSE IF ('$(env)' = 'qat') BEGIN PRINT 'creating users for qat' :r .\SecurityAdditions\usersqat.sql END The actual error message is: D

Build error : Incompatible versions of SQL Server Data Tools and database runtime components are installed on this computer

孤者浪人 提交于 2019-12-06 21:04:02
问题 I have a Visual Studio 2012 project that reports an error from msbuild when trying to publish the database from the command line: Microsoft.Data.Tools.Schema.SqlTasks.targets(390,5): Build error : Incompatible versions of SQL Server Data Tools and database runtime components are installed on this computer. I have checked and installed all updates for VS2012 SSDT and everything is up to date. 回答1: The trick was to install SSDT updates for Visual Studio 2010 - despite the fact that my solution

Deploy of a report with SSDT 2016 generates error

隐身守侯 提交于 2019-12-06 20:12:49
问题 I use VS2015 with SQL Server Data Tools; I have some Reporting Services (RDL) reports. I want to deploy them to a Reporting Server with SQL Server 2014 installed. In my report project I set the TargetServerVersion to "SQL Server 2008R2, 2012 or 2014" , but the deploment process fails with an error similar to: Report Definition invalid, because namespace .../2016/... invalid. 回答1: It is solved. You "MUST" recompile your report project and immediately afterwards you can deploy your reports

Visual Studio 2012 + Business Intelligence Templates

微笑、不失礼 提交于 2019-12-06 18:09:39
问题 I got SQL Server 2012 installed on my machine and I have SSDT to create BI projects. Today i installed Visual Studio 2012; but i cannot create any of BI projects in Visual Studio 2012. Is there a way I can open BI (SSIS/SSAS/SSRS) projects in VS 2012 or should i have to always go back to SSDT to open them. 回答1: Check out this blog post. Basically, there are two versions of SSDT (even though Microsoft doesn't ever explicitly state this), and depending on how you installed SSDT, you get one or

SSRS error on preview : “The size necessary to buffer the XML content exceeded the buffer quota” hides original error

爱⌒轻易说出口 提交于 2019-12-06 17:48:18
问题 I understand that there is definitely something wrong with my report (e.g. columns missmatcch) and I need to correct it but what I see is the WCF error message that hides actual problem and exactly this hiding irritates me much more than original problem: columns missmatch. I guess we need to adjust the WCF 'buffer size' and we will get original problem message. But where is the config file? Text search of "system.serviceModel" in the C:\Program Files (x86)\Microsoft Visual Studio 10.0 doesn

Change data types from Advanced Editor vs Data Conversion Transformation

自作多情 提交于 2019-12-06 08:20:21
I am using SSIS to create some packages. I have gotten confused around the Data Conversion Transformation component and changing columns data types from Advanced editor If I can go into the advanced editor and change the data type of my output, why would I need to input the Data Conversion Transformation? Is this just down to preference or is there a difference between using both approaches? Before showing the difference between both approaches, i will try to give an overview of the data conversion types. Implicit vs Explicit conversion There are 2 different type of data type conversion:

How to embed a database in a visual studio solution?

a 夏天 提交于 2019-12-06 07:37:38
问题 I've been reading about how wonderful Visual Studio 2013's new Sql Server Data Tools are, and about the new localdb database server, etc., so I've been trying to do what would seem to me to be the point of the whole thing - to embed a local test/development database in a VS solution, so that when I check out a project into a clean directory, on a new machine, I can just run my application, connected to the database in the solution. But I've not been able to figure out how to do it. Can anyone

SSDT, SSDT-BI confusion in backwards compatibility for different SQL version

蹲街弑〆低调 提交于 2019-12-06 07:18:39
After extensively searching over google about SSDT and SSDT-BI for different SQL Server versions, I would like someone to pin-point differences and clear my messed up thoughts ! Aim: To upgrade SSIS packages from sql server-2012 to sql server-2014. Originally build from: build on SSDT-BI 2010 Shell(Integrated) which were deployed on SQL Server 2012 Enterprise edition. Now I need to deploy them on SQL Server 2014 Developer edition (for test purpose). I have successfully installed SSDT-BI 2013 Shell(Integrated) and SSDT 2015 Shell(Integrated). Problem: When I open my package in 2013, it prompts

SSIS - Sharepoint List Adapters for SQL Server 2016

寵の児 提交于 2019-12-06 06:29:10
We have many SSIS imports in our environment all created with SQL / Visual Studio 2008 version. We run a lot of imports from SharePoint and for that we have been using SharePoint List Adapters that we got from CodePlex long time ago. It works great in SSIS 2008. However we are trying to upgrade all of our jobs to run with newer version and using SQL Server Data Tools 2015. I installed SQL Server Data Tools 2015 on the same machine as SQL Server 2008 Developer Tools. I am still able to use the 2008 version and see the SharePoint list adapters there but they do not show up in the 2015 version.