<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>tools &#8211; SQLpowered.com</title>
	<atom:link href="https://sqlpowered.com/tag/tools/feed/" rel="self" type="application/rss+xml" />
	<link>https://sqlpowered.com</link>
	<description>SQL Server + BI</description>
	<lastBuildDate>Sun, 13 Dec 2020 14:50:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://sqlpowered.com/wp-content/uploads/2020/07/FavIcon-e1594067873682-99x100.png</url>
	<title>tools &#8211; SQLpowered.com</title>
	<link>https://sqlpowered.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Add Reporting, Analysis and Integration Services Project Types to Visual Studio 2019</title>
		<link>https://sqlpowered.com/add-reporting-analysis-and-integration-services-project-types-to-visual-studio-2019/</link>
					<comments>https://sqlpowered.com/add-reporting-analysis-and-integration-services-project-types-to-visual-studio-2019/#respond</comments>
		
		<dc:creator><![CDATA[Jan Dvořák]]></dc:creator>
		<pubDate>Tue, 20 Aug 2019 07:24:42 +0000</pubDate>
				<category><![CDATA[BI]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://sqlpowered.com/?p=3332</guid>

					<description><![CDATA[If you have installed Visual Studio 2019 you are probably missing project type for Microsoft BI stack like Reporting Services Project Type, Analysis and Integration Services project type. You are surprised because during the installation you have setup also SQL Server Data Tools (SSDT) to be installed. Then you have...]]></description>
										<content:encoded><![CDATA[<p>If you have installed Visual Studio 2019 you are probably missing project type for Microsoft BI stack like Reporting Services Project Type, Analysis and Integration Services project type. You are surprised because during the installation you have setup also SQL Server Data Tools (SSDT) to be installed. Then you have searched for SSDT in google discovering that latest version was published only for Visual Studio 2017.</p>
<p>There was a major change in delivering BI projects to Visual Studio 2019 and later. These projects are delivered as standalone Visual Studio extension and the SSDT installation from Visual Studio installer contains only SQL Server project type and some related tools.</p>
<p>It is still correct to install Visual Studion2019 with SSTD selected like in this picture:</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-3334" src="https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_01.png" alt="" width="1093" height="475" srcset="https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_01.png 1144w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_01-150x65.png 150w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_01-300x130.png 300w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_01-768x334.png 768w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_01-1024x445.png 1024w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_01-160x70.png 160w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_01-320x139.png 320w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_01-520x226.png 520w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_01-720x313.png 720w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_01-980x426.png 980w" sizes="(max-width: 1093px) 100vw, 1093px" /></p>
<p>But after that is done you should also complete installation of BI stack project types:</p>
<p><a href="https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftReportProjectsforVisualStudio">Download Reporting Services project type</a></p>
<p><img decoding="async" class="alignnone size-full wp-image-3335" src="https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_02.png" alt="" width="595" height="208" srcset="https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_02.png 595w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_02-150x52.png 150w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_02-300x105.png 300w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_02-160x56.png 160w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_02-320x112.png 320w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_02-520x182.png 520w" sizes="(max-width: 595px) 100vw, 595px" /></p>
<p><a href="https://marketplace.visualstudio.com/items?itemName=ProBITools.MicrosoftAnalysisServicesModelingProjects">Download Analysis Services project type</a></p>
<p><img decoding="async" class="alignnone size-full wp-image-3337" src="https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_04.png" alt="" width="601" height="202" srcset="https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_04.png 601w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_04-150x50.png 150w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_04-300x101.png 300w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_04-160x54.png 160w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_04-320x108.png 320w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_04-520x175.png 520w" sizes="(max-width: 601px) 100vw, 601px" /></p>
<p><a href="https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects">Download Integration Services project type</a></p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3336" src="https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_03.png" alt="" width="776" height="200" srcset="https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_03.png 776w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_03-150x39.png 150w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_03-300x77.png 300w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_03-768x198.png 768w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_03-160x41.png 160w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_03-320x82.png 320w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_03-520x134.png 520w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_03-720x186.png 720w" sizes="auto, (max-width: 776px) 100vw, 776px" /></p>
<p>After installation will finish you can start Visual Studio 2019 and see that all your missing project types are there like in VS 2017:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3338" src="https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_05.png" alt="" width="527" height="791" srcset="https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_05.png 527w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_05-67x100.png 67w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_05-200x300.png 200w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_05-107x160.png 107w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_05-213x320.png 213w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_05-163x245.png 163w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_05-227x340.png 227w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_05-300x450.png 300w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_05-333x500.png 333w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_05-520x780.png 520w" sizes="auto, (max-width: 527px) 100vw, 527px" /></p>
<p>Another important thing to remember is that with this different kind of installation is coming different update process: No more searching for SSDT updates on the web. You will receive notifications about updates for MS BI projects directly in Visual Studio:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3340" src="https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_06.png" alt="" width="890" height="443" srcset="https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_06.png 890w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_06-150x75.png 150w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_06-300x149.png 300w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_06-768x382.png 768w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_06-160x80.png 160w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_06-320x159.png 320w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_06-492x245.png 492w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_06-683x340.png 683w, https://sqlpowered.com/wp-content/uploads/2019/10/Visual_Studio_2019_Add_Missing_Analysis_Reporting_Integration_Services_Projects_06-520x259.png 520w" sizes="auto, (max-width: 890px) 100vw, 890px" /></p>
<p>This can cause a few issues when using source control like Azure DevOps across the team. If one the team members has enabled automatic updates installation in Visual Studio it can easily happen, that he will upgrade extensions which means that BI projects version will also be upgraded. After he will commit and other team members without updates to be installed will get the latest their project will be marked as Invalid (unsupported) and they must do an update to fix that issue. In a really large team it&#8217;s better to switch automatic updates off and manage this process centrally.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sqlpowered.com/add-reporting-analysis-and-integration-services-project-types-to-visual-studio-2019/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Azure Data Studio</title>
		<link>https://sqlpowered.com/azure-data-studio/</link>
					<comments>https://sqlpowered.com/azure-data-studio/#respond</comments>
		
		<dc:creator><![CDATA[Jan Dvořák]]></dc:creator>
		<pubDate>Sun, 27 Jan 2019 15:59:42 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://sqlpowered.com/?p=2888</guid>

					<description><![CDATA[Azure Data Studio, formerly known as SQL Operations Studio, is a tool for basic SQL Server querying and administration on Windows, Mac-OS, and Linux. That it can be executed on other platforms then Windows is the main point why it was created and it&#8217;s the logical evolution of SQL Server...]]></description>
										<content:encoded><![CDATA[<p>Azure Data Studio, formerly known as SQL Operations Studio, is a tool for basic SQL Server querying and administration on Windows, Mac-OS, and Linux. That it can be executed on other platforms then Windows is the main point why it was created and it&#8217;s the logical evolution of SQL Server being distributed for other operating systems.  SQL Server Management studio is still the main tool for advanced SQL Server administration DBA). Azure Data Studio is more developers oriented supporting basic creation of database object and data querying.</p>
<p><a href="https://docs.microsoft.com/cs-cz/sql/azure-data-studio/download?view=sql-server-2017" rel="noopener noreferrer">Download</a> Azure Data Studio for all platforms.</p>
<p>After the quick installation process, there is a welcome screen with the option to download Czech localization, evaluate features in development, or opt-out from Microsoft data collection for product improvements.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2902" src="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Welcome_Screen.png" alt="" width="566" height="397" srcset="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Welcome_Screen.png 566w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Welcome_Screen-143x100.png 143w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Welcome_Screen-300x210.png 300w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Welcome_Screen-160x112.png 160w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Welcome_Screen-320x224.png 320w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Welcome_Screen-349x245.png 349w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Welcome_Screen-485x340.png 485w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Welcome_Screen-520x365.png 520w" sizes="auto, (max-width: 566px) 100vw, 566px" /></p>
<p>The basic layout of the program looks like as in the picture:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2891" src="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Main_Screen.png" alt="" width="730" height="562" srcset="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Main_Screen.png 971w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Main_Screen-130x100.png 130w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Main_Screen-300x231.png 300w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Main_Screen-768x592.png 768w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Main_Screen-160x123.png 160w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Main_Screen-320x247.png 320w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Main_Screen-318x245.png 318w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Main_Screen-441x340.png 441w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Main_Screen-584x450.png 584w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Main_Screen-649x500.png 649w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Main_Screen-520x401.png 520w" sizes="auto, (max-width: 730px) 100vw, 730px" /></p>
<p>There is Object Browser similar to Management Studio on the left side. The right side is dedicated to querying and results. Desing point of view looks like an attempt to merge UI elements from various platforms.</p>
<p>When a new connection is set up we can open the New Query window with IntelliSense, syntax highlighting, and the results section. All that very similar to SSMS. Cool improvement is the Peek Definition menu item which allows us to generate object definition and it works, surprisingly in contrast to SSMS, also for system objects like the view sys.tables.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2892" src="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Peek_Definition.png" alt="" width="629" height="629" srcset="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Peek_Definition.png 790w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Peek_Definition-100x100.png 100w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Peek_Definition-300x300.png 300w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Peek_Definition-768x768.png 768w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Peek_Definition-160x160.png 160w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Peek_Definition-320x320.png 320w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Peek_Definition-245x245.png 245w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Peek_Definition-340x340.png 340w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Peek_Definition-450x450.png 450w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Peek_Definition-500x500.png 500w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Peek_Definition-520x520.png 520w" sizes="auto, (max-width: 629px) 100vw, 629px" /></p>
<p>Even if the Intellisense looks to be ok and similar to SSMS, it still won&#8217;t beat custom plugins like SQL Prompt from Redgate or SQL Complete from Devart for years.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2900" src="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense.png" alt="" width="782" height="400" srcset="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense.png 1089w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense-150x77.png 150w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense-300x153.png 300w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense-768x393.png 768w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense-1024x524.png 1024w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense-160x82.png 160w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense-320x164.png 320w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense-479x245.png 479w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense-665x340.png 665w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense-880x450.png 880w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense-978x500.png 978w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Intellisense-520x266.png 520w" sizes="auto, (max-width: 782px) 100vw, 782px" /></p>
<p>We can also review the query execution plan. But it&#8217;s using a completely new set of icons and who is watching execution plans every day in SSMS will need some time to get familiar with the new layout.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2893" src="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Execution_Plan.png" alt="" width="778" height="509" srcset="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Execution_Plan.png 1235w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Execution_Plan-150x98.png 150w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Execution_Plan-300x196.png 300w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Execution_Plan-768x502.png 768w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Execution_Plan-1024x670.png 1024w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Execution_Plan-160x105.png 160w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Execution_Plan-320x209.png 320w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Execution_Plan-374x245.png 374w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Execution_Plan-520x340.png 520w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Execution_Plan-688x450.png 688w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Execution_Plan-764x500.png 764w" sizes="auto, (max-width: 778px) 100vw, 778px" /></p>
<p>The Results window is the same as in SSMS. Some core features like columns sorting and grouping are still missing.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2897" src="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As.png" alt="" width="775" height="535" srcset="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As.png 1391w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As-145x100.png 145w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As-300x207.png 300w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As-768x531.png 768w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As-1024x707.png 1024w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As-160x111.png 160w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As-320x221.png 320w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As-355x245.png 355w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As-492x340.png 492w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As-651x450.png 651w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As-724x500.png 724w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Save_As-520x359.png 520w" sizes="auto, (max-width: 775px) 100vw, 775px" /></p>
<p>The most interesting feature is hidden under the Charts tab. We have the option to visualize query results in few basic chart types directly. It can be extended by pressing the <em>Create Insight</em> button and store the chart definition for later use. What I don&#8217;t like so much is that we must edit the JSON template for this purpose. More details on  <a href="https://docs.microsoft.com/cs-cz/sql/azure-data-studio/insight-widgets?view=sql-server-2017" rel="noopener noreferrer">Insights</a>.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2896" src="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart.png" alt="" width="779" height="521" srcset="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart.png 1414w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart-150x100.png 150w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart-300x201.png 300w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart-768x514.png 768w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart-1024x685.png 1024w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart-160x107.png 160w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart-320x214.png 320w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart-366x245.png 366w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart-508x340.png 508w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart-673x450.png 673w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart-747x500.png 747w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Chart-520x348.png 520w" sizes="auto, (max-width: 779px) 100vw, 779px" /></p>
<p>Table data editor doesn&#8217;t bring much new compared to SSMS:</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2899" src="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Edit_Data.png" alt="" width="784" height="344" srcset="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Edit_Data.png 1270w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Edit_Data-150x66.png 150w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Edit_Data-300x132.png 300w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Edit_Data-768x337.png 768w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Edit_Data-1024x449.png 1024w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Edit_Data-160x70.png 160w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Edit_Data-320x140.png 320w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Edit_Data-520x228.png 520w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Edit_Data-720x316.png 720w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Edit_Data-980x430.png 980w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Edit_Data-1140x500.png 1140w" sizes="auto, (max-width: 784px) 100vw, 784px" /></p>
<p>An interesting idea is the full integration of the terminal window which allows us to run various script as Powershell directly from Azure Data Studio.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2895" src="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal.png" alt="" width="791" height="455" srcset="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal.png 1186w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal-150x86.png 150w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal-300x173.png 300w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal-768x442.png 768w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal-1024x589.png 1024w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal-160x92.png 160w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal-320x184.png 320w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal-426x245.png 426w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal-591x340.png 591w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal-783x450.png 783w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal-870x500.png 870w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Terminal-520x299.png 520w" sizes="auto, (max-width: 791px) 100vw, 791px" /></p>
<p><em>Extensions</em> module si similar to Visual Studio Marketplace and allows us to add various plugins and extensions with new features built by Microsoft or 3rd party developers. I see the SQL Server Profiler extension as the most useful one for database developer or DBA because it supports profiling Azure SQL Databases too.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2898" src="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Extensions.png" alt="" width="800" height="786" srcset="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Extensions.png 979w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Extensions-102x100.png 102w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Extensions-300x294.png 300w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Extensions-768x754.png 768w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Extensions-160x157.png 160w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Extensions-320x314.png 320w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Extensions-250x245.png 250w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Extensions-346x340.png 346w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Extensions-458x450.png 458w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Extensions-509x500.png 509w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Extensions-520x510.png 520w" sizes="auto, (max-width: 800px) 100vw, 800px" /></p>
<p>If you don&#8217;t like something from the above mentioned and you would like to report it to Microsoft, then don&#8217;t hesitate to tweet it directly from the Studio. You can also report bugs easily or ask for missing features.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2894" src="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Tweet.png" alt="" width="796" height="648" srcset="https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Tweet.png 838w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Tweet-123x100.png 123w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Tweet-300x244.png 300w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Tweet-768x625.png 768w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Tweet-160x130.png 160w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Tweet-320x260.png 320w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Tweet-301x245.png 301w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Tweet-418x340.png 418w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Tweet-553x450.png 553w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Tweet-614x500.png 614w, https://sqlpowered.com/wp-content/uploads/2019/01/Azure_Data_Studio_Tweet-520x423.png 520w" sizes="auto, (max-width: 796px) 100vw, 796px" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://sqlpowered.com/azure-data-studio/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Solve Invalid Database Reference in an SQL Server Project (VS2015)</title>
		<link>https://sqlpowered.com/how-to-solve-invalid-database-reference-in-sql-server-project-vs2015/</link>
					<comments>https://sqlpowered.com/how-to-solve-invalid-database-reference-in-sql-server-project-vs2015/#respond</comments>
		
		<dc:creator><![CDATA[Jan Dvořák]]></dc:creator>
		<pubDate>Thu, 28 Apr 2016 20:36:24 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://sqlpowered.com/?p=1690</guid>

					<description><![CDATA[If we are working with an SQL Server project in Visual Studio then one of the most common tasks is to first import the scheme of the already existing database into this project. It works pretty well but the real issue will first be discovered when trying to build the...]]></description>
										<content:encoded><![CDATA[<p>If we are working with an SQL Server project in Visual Studio then one of the most common tasks is to first import the scheme of the already existing database into this project. It works pretty well but the real issue will first be discovered when trying to build the project because all unresolved references (objects from other databases, linked servers, etc.) are reported as errors and we can´t deploy the project without resolving them first. I will show you how to solve this problem.<br />
<span id="more-1690"></span></p>
<p>Step one, open the new SQL Server project and create one database called MainDatabase. In this database, create a view with the name [dbo].[ViewWithOuterDbReference] containing only one statement: SELECT * FROM [RererencedDatabase].[dbo].[Referencedtable]. This database doesn’t exist yet and that’s the reason why this object identifier is marked with a red line. Unresolved references are marked in the same way if we will import the existing database scheme.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1692" src="https://sqlpowered.com/wp-content/uploads/2016/04/VS2016-SQL-Server-Project-Solve-Database-Reference-1a.png" alt="VS2016-SQL-Server-Project-Solve-Database-Reference-1a" width="827" height="554" /></p>
<p>Try building the project now. The result will be as seen in this picture:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1693" src="https://sqlpowered.com/wp-content/uploads/2016/04/VS2016-SQL-Server-Project-Solve-Database-Reference-1b.png" alt="VS2016-SQL-Server-Project-Solve-Database-Reference-1b" width="765" height="111" /></p>
<p>Build engine did his job and discovered an unresolved reference and building failed because this reference can later cause later our queries to fail when referencing this view.</p>
<p>In our sample project, we need to take the following steps to build the project successfully.</p>
<p>Create another database in the same solution with the name [ReferencedDatabase]. Inside this database, create a new table called [ReferencedTable]. Now, we have something we can reference as [RererencedDatabase].[dbo].[Referencedtable] in queries from other databases.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1698" src="https://sqlpowered.com/wp-content/uploads/2016/04/VS2016-SQL-Server-Project-Solve-Database-Reference-2.png" alt="VS2016-SQL-Server-Project-Solve-Database-Reference-2" width="273" height="242" /></p>
<p>However, if we will try building the project now, the same error will be fired because of our view [dbo].[ViewWithOuterDbReference] in [MainDatabase] still doesn’t know that the new database is there and the reference error cannot be solved. To move forward we need to explicitly set up a new database reference between our database.</p>
<p>Go to the References folder of [MainDatabase], right-click and select Add Database Reference:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1697" src="https://sqlpowered.com/wp-content/uploads/2016/04/VS2016-SQL-Server-Project-Solve-Database-Reference-3.png" alt="VS2016-SQL-Server-Project-Solve-Database-Reference-3" width="273" height="288" /></p>
<p>The following dialog will pop up and we select the Database Reference as per the green box below:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1696" src="https://sqlpowered.com/wp-content/uploads/2016/04/VS2016-SQL-Server-Project-Solve-Database-Reference-4.png" alt="VS2016-SQL-Server-Project-Solve-Database-Reference-4" width="823" height="562" /></p>
<p>Please note the Database Location section and Database variable field value. Go back to it.</p>
<p>After pressing OK, we can see a new item in the References folder saying, that our [MainDatabase] now has a new reference to [ReferencedDatabase]:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1695" src="https://sqlpowered.com/wp-content/uploads/2016/04/VS2016-SQL-Server-Project-Solve-Database-Reference-5.png" alt="VS2016-SQL-Server-Project-Solve-Database-Reference-5" width="273" height="258" /></p>
<p>However, we are still not finished building will fail again. We have set the reference but next, we should adjust our code so that the build engine can use this new reference to solve existing reference conflicts.</p>
<p>By right-clicking on the new reference created above we will display its properties and copy the Database Variable Name property value to the clipboard:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1694" src="https://sqlpowered.com/wp-content/uploads/2016/04/VS2016-SQL-Server-Project-Solve-Database-Reference-6.png" alt="VS2016-SQL-Server-Project-Solve-Database-Reference-6" width="299" height="342" /></p>
<p>Then, go back to the view and replace the [ReferencedDatabase] identifier with the [$(ReferencedDatabase)] variable from the clipboard. Shortly after that, a red line warning is removed from the code and we can build the project. All unresolved references have now been solved.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1691" src="https://sqlpowered.com/wp-content/uploads/2016/04/VS2016-SQL-Server-Project-Solve-Database-Reference-8.png" alt="VS2016-SQL-Server-Project-Solve-Database-Reference-8" width="827" height="554" /></p>
<p>Further reading:</p>
<ul>
<li><a href="https://www.simple-talk.com/sql/sql-tools/sql-server-data-tools-%28ssdt%29-and-database-references-/">SQL Server Data Tools (SSDT) and Database References</a></li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://sqlpowered.com/how-to-solve-invalid-database-reference-in-sql-server-project-vs2015/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
