Quantcast
Channel: SQL Server Data Tools Team Blog
Viewing all 24 articles
Browse latest View live

SQL Server Data Tools 16.4 Release

$
0
0

The SQL Server Data Tools team is pleased to announce an update for SQL Server Data Tools (SSDT) is now available. The SSDT 16.4 release adds support for Schema Compare in SqlPackage.exe and as an API, Integrated Workspace Mode for SSDT Tabular, and as usual has various bug fixes.

Get it here:

Download SSDT GA 16.4 for Visual Studio 2015 and Visual Studio 2013

This release will be available through Visual Studio Extensions and Updates notification soon.

Download Data-Tier Application Framework 16.4

What’s new in SSDT?

Database Tools

Schema Compare is now supported in SqlPackage.exe and the Data-Tier Application Framework (DacFx) API. To learn more please read Schema Compare in SqlPackage and the Data-Tier Application Framework.

Analysis Services – Integrated Workspace Mode for SSDT Tabular (SSAS)

SSDT Tabular now includes an internal SSAS instance, which SSDT Tabular starts automatically in the background if integrated workspace mode is enabled so that you can add and view tables, columns, and data in the model designer without having to provide an external workspace server instance. Integrated workspace mode does not change how SSDT Tabular works with a workspace server and database. What changes is where SSDT Tabular hosts the workspace database. To enable integrated workspace mode, select the Integrated Workspace option in the Tabular Model Designer dialog box displayed when creating a new tabular project. For existing tabular projects that currently use an explicit workspace server, you can switch to integrated workspace mode by setting the Integrated Workspace Mode parameter to True in the Properties window, which is displayed when you select the Model.bim file in Solution Explorer.

For more information please read this Analysis Services blog post.

Fixed / Improved this month

Database Tools

Connect Issue 3087775 – SSDT: temporal tables broken in VS Data Tools July update 14.0.60629.0, “Value cannot be null. Parameter name: reportedElement”

Connect Issue 1026648 – IsPersistedNullable shows as different in SSDT Comparison

Connect Issue 2054735 – Identity is reset when importing a BACPAC

Connect Issue 2900167 – Running SSDT unit tests leaves temp files behind

Connect Issue 1807712 – Backwards compatibility breakage – AppLocal and Nugetization

Analysis Services & Reporting Services

Fixed an issues in SSDT where error tip pop ups where in the way when editing DAX for DirectQuery calculated columns
Fixed an issue in SSDT AS tabular grid where the KPI Icon wasn’t showing in measure grid when Windows scaling factor set at high-DPI 200%+
Fixed an issue in SSDT AS where pasting large table data could make the tabular project unresponsive
Fixed an issue in SSDT AS tabular model editor to mark the model as needing to save changes when renaming connection friendly name
Fixed an issue in the SSDT AS tabular projects where width of columns in the manage relationships dialog could not be resized
Fixed an issue in SSDT AS tabular 1200-level models where pasting data from Excel with locale settings like German didn’t treat the comma as the decimal separator correctly
Fixed an issue in SSDT AS projects with some KPI icon sets which could yield an error “Couldn’t retrieve the data for this visual.”
Fixed an issue with SSDT AS project properties dialog to anchored correctly when resized at High-DPI scaling
Fixed an issue in SSDT AS projects that may have caused an error upgrading certain models with Pasted tables
Fixed an issue in SSDT AS where pasting full sheet rows from Excel was very slow and created many unwanted columns
Fixed an issue in SSDT AS where large static DataTable expressions parsing and highlight was really slow or appeared to hang
Fixed an issue in SSDT AS to add measures and KPI values to the current perspective selected in the editor
Fixed an issue in SSDT where data import into AS project from SQL Azure didn’t support schema types other than “dbo.”

Contact us:

If you have any question or feedback, please ping @sqldatatools on twitter, visit our forum and for bugs please create bug reports on our Microsoft Connect page. We are fully committed to improve the SSDT experience and look forward to hearing from you!


SQL Server Data Tools 16.5 Release

$
0
0

The SQL Server Data Tools team is pleased to announce an update for SQL Server Data Tools (SSDT) is now available. The SSDT 16.5 release adds a number of improvements to the connection experience, SqlPackage and DacFx API support for generating a deployment report and scripts during publish, and as usual a number of bug fixes across the tool.

Get it here:

Download SSDT GA 16.5 for Visual Studio 2015 and Visual Studio 2013

This release will be available through Visual Studio Extensions and Updates notification soon.

Download Data-Tier Application Framework 16.5

What’s new in SSDT?

Database Tools

Connection Improvements

Managing your server and database connections is even easier than before.

  • The new search box in the Browse tab helps you filter your Local servers, Network servers and Azure SQL Databases. This is very useful if (like us) you have a large number of servers or databases appearing in these lists.
  • The History tab has right-click menu options to pin / unpin favorites, and a new option to remove connections from the History.

SqlPackage and DacFx API Improvements

Using SqlPackage.exe and the DacFx APIs you can now generate a deployment report, deployment script, and publish to a database all in one action. This is a timesaver for anyone who likes to keep a report of what was published during a deployment. Another benefit is that for Azure scenarios, separate scripts for the master database and the deploy target database are created. Up to now a single script was created which was not useful for repeated deployments.

For SqlPackage’s Publish and Script actions, two new arguments have been added.

  • DeployScriptPath (shortname: dsp). This is an optional path to write the deployment script to. For Azure deployment, if there were TSQL commands to create of modify the DB a master script will be written to the same path but with “Filename_Master.sql” as the output file name.
  • DeployReportPath (shortname: drp). This is an optional path to write the deployment report to.

Note that for the Script action, either the existing Output Path arguments or the new script/report-specific arguments should be used, but not both.

Sample usage:

Publish Action Sqlpackage.exe /a:Publish /tsn:(localdb)\ProjectsV13 /tdn:MyDatabase /deployscriptpath:”My\DeployScript.sql” /deployreportpath:”My\DeployReport.xml”
Script Action Sqlpackage.exe /a:Script /tsn:(localdb)\ProjectsV13 /tdn:MyDatabase /deployscriptpath:”My\DeployScript.sql” /deployreportpath:”My\DeployReport.xml”

In DacFx, two new APIs have been added: DacServices.Publish() and DacServices.Script(). These also support performing publish + script + report actions in a single operation. Sample usage:

DacServices service = new DacServices(connectionString);
using(DacPackage package = DacPackage.Load(@"C:\My\db.dacpac")) {
var options = new PublishOptions() {
    GenerateDeploymentScript = true// Should a deployment script be created?
    GenerateDeploymentReport = true// Should an xml deploy report be created?
    DatabaseScriptPath = @"C:\My\OutputScript.sql"// optional path to save script to
    MasterDbScriptPath = @"C:\My\OutputScript_Master.sql"// optional path to save master script to
    DeployOptions = new DacDeployOptions()
};

// Call publish and receive deployment script & report in the results
PublishResult result = service.Publish(package, "TargetDb", options);
Console.WriteLine(result.DatabaseScript);
Console.WriteLine(result.MasterDbScript);
Console.WriteLine(result.DeploymentReport);

// Call script and receive deployment script & report in results
result = service.Script(package, "TargetDb", options);
Console.WriteLine(result.DatabaseScript);
Console.WriteLine(result.MasterDbScript);
Console.WriteLine(result.DeploymentReport);

Analysis Services & Reporting Services

SSAS tabular designer DAX parser has improved performance when working with large DAX expressions.

For more information, please read this Analysis Services blog post.

Fixed / Improved this month

Database Tools

Connect bug 3055711 – Columns cannot be selected from CROSS APPLY OPENJSON with explicit schema
Fixed – issue with Auto-generated History table indexes, where DacFx dropped index on redeployment
Fixed – issue with DacFx batch parser not parsing escaped bracket ‘]’ characters, which caused publish to fail
Improved – SqlPackage now includes descriptions for each action in the help output
Fixed – The “Remember Password” option in the connection dialog was not being preserved when editing Advanced options and when editing a connection string saved in Publish, Schema Compare and other files
Fixed – For connections show in the History tab with IntegratedAuthentication=true, the Authentication field in connection properties was left blank. This now shows “Windows Authentication” as expected
Fixed – Changes to the SQL Server Tools Intellisense settings under Tools -> Options -> Text Editor were not being preserved
Improved – the Pin/Unpin button in the connection dialog History tab is now more compact, reducing the likelihood of a scrollbar appearing
Fixed – several accessibility issues in the connection dialog were fixed.

Analysis Services & Reporting Services

Fixed an issue in SSDT AS tabular designer where clicking the scrollbar thumb in data grid crashed in certain situations
Fixed an issue where option to impersonate connection as current user in SSDT AS tabular wasn’t available
Fixed an issue in SSDT AS tabular designer where expanding the formula bar too far could make the project unable to re-open
Fixed a crash in SSDT AS tabular designer that would occur on key down if table tab was selected
Fixed an issue in SSDT AS projects where Analyze in Excel would not connect to down-level AS server versions

Integration Service

Fixed Connect bug 1608896: Move Multiple Integration Service Package Tasks

­­­Contact us:

If you have any question or feedback, please ping @sqldatatools on twitter, visit our forum and for bugs please create bug reports on our Microsoft Connect page. We are fully committed to improve the SSDT experience and look forward to hearing from you!

SQL Server Data Tools 17.0 RC, and SSDT in VS2017

$
0
0

It’s been a busy few months for SSDT with multiple Release Candidate releases of the 17.0 major release, and Visual Studio 2017 shipping this week. Here’s a quick update on the latest & greatest database tools updates you can try out.

SQL Server Data Tools 17.0 RC3

Today we’re announcing SSDT 17.0 RC3 release for Visual Studio 2015. SSDT 17.0 is a major update with support for SQL Server vNext and the latest Azure SQL DB features built in. We’ve released multiple RCs and are well on our way towards a GA release that’s supported against production instances.

Download the latest release candidate here.

New in SSDT 17.0 RC3: Ignore Column Order when publishing Database Projects

One of the most requested features for database project publishing is now finally here. If you’ve ever had to deal with accidental data motion when putting a column in the middle of a table definition, you’ll know how hard this can be to spot and manage. In this release you can now check the “Ignore Column Order” option in the Advanced Publish Options. This will append new columns to the end of an existing table rather than altering the table structure to add the column in its listed position.

For a full list of features for all project types see the release notes on the SSDT 17.0 Release Candidate download page.

Visual Studio 2017

Visual Studio 2017 includes SSDT relational DB support: Database Projects, Schema Compare, Data Compare, SQL Server Object Explorer and more. The Data Storage and Processing workload is optimized for DB developers, but SSDT is a recommended option in most other workloads including ASP.Net and Web Development. We encourage you to try out the new, more lightweight Visual Studio today!

Support for Analysis Services and Reporting Services BI project types is available in the VS2017 Gallery on launch day. 

To download Visual Studio 2017 and learn more about the exciting new features in this release, see www.visualstudio.com.

FAQ

When will all BI Projects be supported in VS2017?

Support for Analysis Services and Reporting Services BI project types is available in the VS2017 Gallery on launch day.  Support for Integration Services for Visual Studio 2017 is in progress, but is not yet available on launch day. For now we recommend using SSDT for VS2015 if you need to use all of the BI project types together in a solution, but stay tuned to this blog for updates on this.

When will SQL Server vNext & other SSDT 17.0 features be supported in VS2017?

We’re focused on bringing SSDT 17.0 to GA quality in the coming months. After this happens, we’ll work to ship this updated code into a future Visual Studio 2017 update. Please note that Visual Studio 2017, database project updates are shipped via the built-in updater instead of a separate setup executable. This makes install & management much easier, but does mean that releases align with the Visual Studio release schedule rather than shipping on an ad-hoc basis. With this change, SSDT updates for Visual Studio 2017 will generally ship after updates to SSMS and other tools.

Will there be additional feature updates to SSDT in Visual Studio 2013?

No. SSDT supports the most recent 2 versions of Visual Studio, with our features shipping in both versions wherever possible. With the release of Visual Studio 2017, we are ceasing to ship feature updates to Visual Studio 2013. This release will continue to be supported via the Microsoft support lifecycle, meaning any vital security fixes and similar important fixes will be released. We recommend updating to the latest version of Visual Studio to keep getting our most up to date features.

What tools does Visual Studio 2017 have for database development?

Visual Studio 2017 has several features specific to database development to keep developers more productive, while ensuring that application’s data and schemas are part of the DevOps best practices (automatic deployment, continuous integration). Developers can leverage SQL Server Data Tools (SSDT) included in all Visual Studio editions. Additionally on Visual Studio 2017, developers can leverage Redgate Data Tools. SQL Search is available in all editions, and SQL Prompt Core and ReadyRoll Core are available for VS 2017 Enterprise subscribers.

  • SQL Server Data Tools (SSDT) turns Visual Studio into a powerful development environment for SQL Server, Azure SQL Database and Azure SQL Data Warehouse. With SSDT, developers can visually design, build, debug, test, maintain, refactor, deploy, source control and enable continuous integration & continuous deployment for their databases with a declarative model that spans all the phases of database development. Developers can work offline with a database project, or directly with a connected database instance in Azure SQL Database, Azure SQL Data Warehouse, and SQL Server running on Windows, Linux, Docker and in Azure or any cloud.
  • With ReadyRoll Core, users can develop, source control, and safely automate deployments of database changes, alongside application changes. This means the same tools used for application development can be utilized for database development and deployment, and ensures a single source of truth for both application and database changes. ReadyRoll’s migrations-based approach gives developers more control over the end database deployment script and can be easily integrated into DevOps processes, such as continuous integration and continuous delivery.
  • With SQL Prompt Core users can increase productivity with advanced IntelliSense-style code completion in Visual Studio.
  • SQL Search allows users to quickly search for SQL objects across databases. Together, Redgate Data Tools help to ensure database development is not the bottleneck to continuously delivering value to end users.

Can these tools help me with continuous integration & continuous deployment scenarios?

Yes, both SSDT Database Projects and ReadyRoll can be used to include the database in your CI and CD processes. ReadyRoll is an alternative to SSDT Database Projects that allows developers to have more control over the end database deployment script.

Read more about the differences between these in the “Which tool should I use” question.

Where do I get these database development tools from?

You can find both SQL Server Data Tools and Redgate’s SQL Search on all Visual Studio 2017 editions. Additionally, Visual Studio 2017 Enterprise subscribers have access to Redgate SQL Prompt Core and ReadyRoll Core as part of their installation, in the Data storage and processing workload.

Which tool should I use: SSDT or ReadyRoll?  

ReadyRoll is an alternative to SSDT Database Projects that allows developers to have more control over the end database deployment script. It can be used alongside other great features in SSDT like the Table Designer and ability to View and Edit Data.

SSDT and ReadyRoll Core take two different approaches to database development. SSDT takes a state-based approach, while ReadyRoll Core takes a migrations-based approach. The short version: for example, consider this analogy for baking a cake:

  • With SSDT database projects, you are given a list of ingredients and a picture of what the end cake will look like; the beginning and end state. How you get there is derived.
  • With ReadyRoll Core, you are given the recipe telling you what to do each step of the way to turn the ingredients into a cake.

 

Announcing the General Availability (GA) Release of SSDT 17.0 (April 2017)

$
0
0

We are pleased to announce that SQL Server Data Tools 17.0 is officially released and supported for production use. This GA release includes support for SQL Server 2017 and SQL Server on Linux including new features such as Graph DB. It includes several features that we have consistently received requests for via MSDN forums and Connect and contains numerous fixes and improvements over the 16.x version of the tools. You no longer need to maintain 16.x and 17.0 side-by-side to build SQL Server relational databases, Azure SQL databases, Integration Services packages, Analysis Services data models, Azure Analysis Services data models, and Reporting Services reports. From all the SSDT teams, thank you for your valuable feedback and suggestions!

Additionally, for relational and Azure SQL databases SSDT 17.0 GA includes a highly requested improvement to ignore column order in upgrade plans as well as numerous other bug fixes. 

In the Business Intelligence area, SSDT 17.0 GA supports Azure Analysis Services in addition to SQL Server Analysis Services. It features a modern Get Data experience in Tabular 1400 models, including DirectQuery support (see the blog article “Introducing DirectQuery Support for Tabular 1400”) and an increasing portfolio of data sources. Other noteworthy features include object-level security to secure model metadata in addition to data, transaction-performance improvements for a more responsive developer experience, improvements to the authoring experience of detail rows expressions, and a DAX Editor to create measures and other DAX expressions more conveniently.

For Integration Services, SSDT 17.0 GA provides an authoring package with OData Source and OData Connection Manager connecting to the OData feeds of Microsoft Dynamics AX Online and Microsoft Dynamics CRM Online. Moreover, the project target server version supports SQL Server 2017 so you can conveniently deploy your packages on the latest version of SQL Server.

So please download SSDT 17.0 GA from https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt and update your existing installations today! Send us your feedback and ask us questions on our forum or via Microsoft Connect.  We look forward to hearing from you.

This release also includes an update to the DacFx Nuget packages published on https://nuget.org.

Viewing all 24 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>