{"id":10385,"date":"2017-03-07T10:00:59","date_gmt":"2017-03-07T18:00:59","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/?p=10385"},"modified":"2019-02-14T15:27:30","modified_gmt":"2019-02-14T23:27:30","slug":"redgate-data-tools-in-visual-studio-2017","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/redgate-data-tools-in-visual-studio-2017\/","title":{"rendered":"Redgate Data Tools in Visual Studio 2017"},"content":{"rendered":"<p>Today during the <a target=\"_blank\" href=\"https:\/\/launch.visualstudio.com\/\">Visual Studio launch event<\/a>, we announced that we\u2019ve partnered with <a target=\"_blank\" href=\"https:\/\/www.red-gate.com\/\">Redgate<\/a> to include Redgate Data Tools in Visual Studio 2017. <a target=\"_blank\" href=\"http:\/\/www.red-gate.com\/products\/sql-development\/entrypage\/redgate-data-tools?utm_source=microsoft&amp;utm_medium=link&amp;utm_campaign=rgdt&amp;utm_term=VSBlogMar2017\">Redgate Data Tools<\/a> includes three components that extend DevOps practices to SQL Server and Azure SQL databases and increase your productivity while doing database development.<\/p>\n<p>Here\u2019s a brief overview of each of them:<\/p>\n<ul>\n<li><a target=\"_blank\" href=\"http:\/\/www.red-gate.com\/products\/sql-development\/readyroll\/entrypage\/microsoft-and-readyroll?utm_source=microsoft&amp;utm_medium=link&amp;utm_campaign=readyroll&amp;utm_term=VSBlogMar2017\"><strong>ReadyRoll Core<\/strong><\/a> allows you to develop, source control, and safely automate deployments of database changes alongside application changes. ReadyRoll Core is available in the Enterprise edition of Visual Studio 2017.<\/li>\n<li><a target=\"_blank\" href=\"http:\/\/www.red-gate.com\/products\/sql-development\/sql-prompt\/entrypage\/microsoft-and-sql-prompt?utm_source=microsoft&amp;utm_medium=link&amp;utm_campaign=sqlprompt&amp;utm_term=VSBlogMar2017\"><strong>SQL Prompt Core<\/strong><\/a> offers advanced code completion for SQL. SQL Prompt Core is available in the Enterprise edition of Visual Studio 2017.<\/li>\n<li><a target=\"_blank\" href=\"http:\/\/www.red-gate.com\/products\/sql-development\/sql-search\/?utm_source=microsoft&amp;utm_medium=link&amp;utm_campaign=sqlsearch&amp;utm_term=VSBlogMar2017\"><strong>SQL Search<\/strong><\/a> lets you find SQL objects fast and easily explore across databases. SQL Search is available in all editions of Visual Studio 2017.<\/li>\n<\/ul>\n<p>You can install Redgate Data Tools using the Visual Studio Installer through the <strong>Data storage and processing<\/strong> workload or through the <strong>Individual components<\/strong> tab.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/01_RedgateDataTools.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/01_RedgateDataTools.png\" alt=\"01_redgatedatatools\" width=\"1250\" height=\"634\" class=\"alignnone size-full wp-image-10615\" \/><\/a><\/p>\n<p>In this post, I\u2019ll highlight how each of the Redgate Data Tools can improve your SQL database development.<\/p>\n<h2>Deploy database changes with confidence using ReadyRoll Core<\/h2>\n<p>Managing your database changes and incorporating them into your DevOps pipeline has always been difficult. Keeping track of what scripts need to be run and managing database states is often painful and error-prone. ReadyRoll Core simplifies this process by turning changes to your database schema into database migration scripts. These migration scripts can then be checked into source control and deployed to your other databases.<\/p>\n<p>When you\u2019re working in a ReadyRoll project and make changes to your development database using Visual Studio, SQL Server Management Studio, or another tool of choice, ReadyRoll Core will list the changes you\u2019ve made and show you the differences.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/02_RedgateReadyRollCompare.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/02_RedgateReadyRollCompare.png\" alt=\"02_redgatereadyrollcompare\" width=\"1101\" height=\"486\" class=\"alignnone size-full wp-image-10616\" \/><\/a><\/p>\n<p>Then, you can tell ReadyRoll Core to create a migration script based off these changes and add the new migration script to your project. You can modify the generated migration script yourself if needed.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/03_ReadyRollMigrationScript.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/03_ReadyRollMigrationScript.png\" alt=\"03_readyrollmigrationscript\" width=\"1343\" height=\"923\" class=\"alignnone size-full wp-image-10625\" \/><\/a><\/p>\n<p>Once you\u2019re done making changes, you can check these migration scripts into source control alongside any other updates you made to your application and share your work with your team.<\/p>\n<p>Redgate also offers a <a target=\"_blank\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=redgatesoftware.redgate-readyroll\">ReadyRoll Visual Studio Team Services plugin<\/a> that includes VSTS build and release tasks to safely deploy these migration scripts to other databases. This way, you can keep your database deployments consistent across multiple instances. You can set up VSTS to automate these database deployments to shift your database development further left and learn about potential problems sooner.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/04_ReadyRollVSTS.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/04_ReadyRollVSTS.png\" alt=\"04_readyrollvsts\" width=\"638\" height=\"259\" class=\"alignnone size-full wp-image-10635\" \/><\/a><\/p>\n<p>Check out Redgate technical lead David Simner\u2019s <a target=\"_blank\" href=\"https:\/\/aka.ms\/channel9redgate\">video on Channel9<\/a> for an overview of how you can use ReadyRoll Core for your own database development.<\/p>\n<h2>Make writing SQL code a breeze with SQL Prompt Core<\/h2>\n<p>SQL Prompt Core is a suite of SQL code editing productivity enhancements that help you write SQL code efficiently. Most importantly, SQL Prompt Core offers advanced code completion that automatically suggests SQL commands, column names, and more as you type.<\/p>\n<p>SQL Prompt Core is more than autocomplete though \u2013 it provides a myriad of other quality of life improvements that come together to simplify writing SQL code. Here are two of my favorite examples:<\/p>\n<ul>\n<li><strong>Expanding wildcards <\/strong>\u2013 hitting the tab button after the * in a SELECT * FROM statement will expand the wildcard.<\/li>\n<\/ul>\n<p style=\"padding-left: 30px\"><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/05_SQLPromptWildcard.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/05_SQLPromptWildcard.png\" alt=\"05_sqlpromptwildcard\" width=\"222\" height=\"38\" class=\"alignnone size-full wp-image-10645\" \/><\/a><\/p>\n<p style=\"padding-left: 30px\">SQL Prompt will then replace the * with all available columns in that table.<\/p>\n<p style=\"padding-left: 30px\"><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/06_SQLPromptWildcardExpanded.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/06_SQLPromptWildcardExpanded.png\" alt=\"06_sqlpromptwildcardexpanded\" width=\"222\" height=\"67\" class=\"alignnone size-full wp-image-10655\" \/><\/a><\/p>\n<p style=\"padding-left: 30px\">If you don\u2019t want all columns, you can highlight the * instead and start typing to select the subset of columns that you need.<\/p>\n<p style=\"padding-left: 30px\"><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/07_SQLPromptWildcardSelect.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/07_SQLPromptWildcardSelect.png\" alt=\"07_sqlpromptwildcardselect\" width=\"560\" height=\"188\" class=\"alignnone size-full wp-image-10665\" \/><\/a><\/p>\n<ul>\n<li><strong>Suggestions for joins \u2013 <\/strong>SQL Prompt can complete join statements for you automatically and suggest possible joins based on foreign key relationships or column similarities as you type.<\/li>\n<\/ul>\n<p style=\"padding-left: 30px\"><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/08_SQLPromptJoin.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/08_SQLPromptJoin.png\" alt=\"08_sqlpromptjoin\" width=\"335\" height=\"178\" class=\"alignnone size-full wp-image-10675\" \/><\/a><\/p>\n<h2>Search quickly across SQL databases with SQL Search<\/h2>\n<p>Finding SQL objects can be tricky and time-consuming when dealing with complex databases or when you\u2019re unfamiliar with a database. SQL Search saves you time by quickly finding fragments of SQL in tables, views, stored procedures, and more.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/09_SQLSearch.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/09_SQLSearch.png\" alt=\"09_sqlsearch\" width=\"1067\" height=\"608\" class=\"alignnone size-full wp-image-10685\" \/><\/a><\/p>\n<p>If you\u2019re a database developer, you may have run into scenarios where you need to change a column and all stored procedures that reference that column. SQL Search makes this a cinch. Simply search for the column name and SQL Search will display all references to it. Double clicking an occurrence navigates you to it in the SQL Server Object Explorer, where you can make the appropriate changes.<\/p>\n<h2>Use Redgate Data Tools today in Visual Studio 2017<\/h2>\n<p>We\u2019re excited to include <a target=\"_blank\" href=\"http:\/\/www.red-gate.com\/products\/sql-development\/entrypage\/redgate-data-tools?utm_source=microsoft&amp;utm_medium=link&amp;utm_campaign=rgdt&amp;utm_term=VSBlogMar2017\">Redgate Data Tools<\/a> in Visual Studio 2017 to make your database development easier and more efficient. <a target=\"_blank\" href=\"https:\/\/www.visualstudio.com\">Download Visual Studio 2017<\/a> to try them out, and feel free to <a target=\"_blank\" href=\"https:\/\/www.surveymonkey.com\/r\/RGDT-VSBlogMar17\">share your feedback with Redgate<\/a>. Check out <a target=\"_blank\" href=\"http:\/\/www.red-gate.com\/products\/sql-development\/sql-toolbelt\/?utm_source=microsoft&amp;utm_medium=link&amp;utm_campaign=rgdt&amp;utm_term=VSBlogMar2017\">Redgate\u2019s SQL Toolbelt<\/a> as well if you\u2019re interested in their other offering.<\/p>\n<table cellspacing=\"0\" cellpadding=\"2\" width=\"600\" border=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"150\"><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/Jeff-Gao.jpg\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/4\/2019\/06\/Jeff-Gao.jpg\" alt=\"jeff-gao\" width=\"302\" height=\"343\" class=\"alignnone size-full wp-image-10365\" \/><\/a><\/td>\n<td valign=\"top\" width=\"450\"><strong>Jeff Gao<\/strong>, Program Manager, Visual Studio Platform<\/p>\n<p>Jeff is a Program Manager on the Visual Studio Platform team focused on improving the product acquisition experience.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Today during the Visual Studio launch event, we announced that we\u2019ve partnered with Redgate to include Redgate Data Tools in Visual Studio 2017. Redgate Data Tools includes three components that extend DevOps practices to SQL Server and Azure SQL databases and increase your productivity while doing database development. Here\u2019s a brief overview of each of [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1085,155],"tags":[237,242,357,156],"class_list":["post-10385","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-visual-studio","tag-net","tag-azure","tag-sql","tag-visual-studio-2017"],"acf":[],"blog_post_summary":"<p>Today during the Visual Studio launch event, we announced that we\u2019ve partnered with Redgate to include Redgate Data Tools in Visual Studio 2017. Redgate Data Tools includes three components that extend DevOps practices to SQL Server and Azure SQL databases and increase your productivity while doing database development. Here\u2019s a brief overview of each of [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/10385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=10385"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/10385\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=10385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=10385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=10385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}