<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'SSAS', 'Visual Studio', and 'SSRS'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=SSAS,Visual+Studio,SSRS&amp;orTags=0</link><description>Search results matching tags 'SSAS', 'Visual Studio', and 'SSRS'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Some thoughts on Visual Studio database references and how they should be used for SQL Server BI</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2010/09/14/some-thoughts-on-visual-studio-database-references-and-how-they-should-be-used-for-sql-server-bi.aspx</link><pubDate>Tue, 14 Sep 2010 12:53:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:28755</guid><dc:creator>jamiet</dc:creator><description>&lt;P class=MsoNormal&gt;&lt;SPAN class=apple-style-span&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;Over the past few weeks I have been making heavy use of the Database tools in Visual Studio 2010 (formerly known as datadude, DBPro, VSTS for Database Professionals or one of a plethora of other names that it has gone by over the past few years) and one of the features that has most impressed me has been database references.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN class=apple-style-span&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN class=apple-style-span&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;o:p&gt;Database references allow you to have stored procedures in your database project that refer to objects (tables, views, stored procedures etc…) that exist in other database projects and hence when you build your database project it is able to &lt;I style="mso-bidi-font-style:normal;"&gt;resolve&lt;/I&gt; those references. Gert Drapers has a useful introduction to them at his blog post &lt;A href="http://blogs.msdn.com/b/gertd/archive/2007/07/26/database-references.aspx"&gt;Database References&lt;/A&gt;; in his words database references allow you to:&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN class=apple-style-span&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN-LEFT:36pt;"&gt;&lt;SPAN class=apple-style-span&gt;&lt;I style="mso-bidi-font-style:normal;"&gt;&lt;SPAN style="FONT-SIZE:9pt;COLOR:#333333;FONT-FAMILY:'Segoe UI','sans-serif';"&gt;represent and resolve 3 and/or 4-part name usage inside a database project. Database references&amp;nbsp;are conceptually the same as assembly references inside a C# or VB.NET projects; they allow you to reference objects from your database project that live inside another namespace (database).&lt;/SPAN&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;I style="mso-bidi-font-style:normal;"&gt;&lt;/I&gt;&lt;SPAN class=apple-style-span&gt;&lt;I style="mso-bidi-font-style:normal;"&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN class=apple-style-span&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN class=apple-style-span&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;o:p&gt;It occurred to me that similar functionality would be incredibly useful for SQL Server Integration Services(SSIS), Analysis Services (SSAS) &amp;amp; Reporting Services (SSRS) projects. After all reports, packages and data source views are rife with references to database objects – why shouldn’t we be able to have design-time dependency checking in our BI projects the same way that database and .Net developers do?&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN class=Apple-style-span style="FONT-SIZE:11px;FONT-FAMILY:Verdana, sans-serif;"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN class=Apple-style-span style="FONT-SIZE:11px;FONT-FAMILY:Verdana, sans-serif;"&gt;Here are some examples of ways in which this would be useful:&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;SPAN class=apple-style-span&gt;If a SSRS report pulls data from a view, I firstly want to know (at design-time) that that view exists. Secondly, if the view definition changes I want to know that my report will still work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;SPAN class=apple-style-span&gt;&lt;/SPAN&gt;&lt;SPAN class=apple-style-span&gt;Similarly for a SSAS cube, if a view referenced in the DSV changes or disappears I want my SSAS project build to fail or succeed accordingly&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV class=MsoNormal&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;SPAN class=apple-style-span&gt;&lt;/SPAN&gt;&lt;SPAN class=apple-style-span&gt;Similarly for a SSIS Execute SQL Task, if it executes a stored procedure I want to know that the named parameters that I am using actually exist in the stored procedure.&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN class=apple-style-span&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN class=apple-style-span&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;To this end I have submitted three identical suggestions to &lt;A href="http://connect.microsoft.com/sqlserver/feedback"&gt;Connect&lt;/A&gt;, one each for SSIS, SSAS &amp;amp; SSRS:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN class=apple-style-span&gt;&lt;SPAN style="FONT-SIZE:8.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN style="FONT-SIZE:16.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';mso-font-kerning:18.0pt;mso-fareast-language:EN-GB;"&gt;&lt;A class="" href="https://connect.microsoft.com/SQLServer/feedback/details/597709/" target=_blank&gt;[SSAS] Declare database object dependencies&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:16.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;A class="" href="https://connect.microsoft.com/SQLServer/feedback/details/597707/" target=_blank&gt;[SSRS] Declare database object dependencies&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:16.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN style="FONT-WEIGHT:normal;FONT-SIZE:16.5pt;COLOR:black;FONT-FAMILY:'Verdana','sans-serif';"&gt;&lt;A class="" href="https://connect.microsoft.com/SQLServer/feedback/details/597708/" target=_blank&gt;[SSIS] Declare database object dependencies&lt;/A&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;I have said before in my blog post &lt;A href="http://sqlblog.com/blogs/jamie_thomson/archive/2010/01/12/the-sql-developer-gap-warning-rant-coming-up.aspx"&gt;The SQL developer gap&lt;/A&gt; that we database and BI developers deserve as much love from Microsoft as our .Net counterparts do and I’m of the opinion that providing design-time dependency checking across the full gamut of BI projects would be a huge step in the right direction. The holy grail is an object dependency graph from database tables all the way up through database views, database functions, stored procedures, DAL, ORM layer &amp;amp; business logic layer all the way through to presentation – I don’t know how long it will take but we will get there one day I am sure, hopefully sooner rather than later!&lt;/P&gt;
&lt;P class=MsoNormal&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;A href="http://twitter.com/jamiet"&gt;@JamieT&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;UPDATE: This feature (i.e. the ability to define dependencies on database objects at build time) is coming to the Entity Framework as confirmed in this Connect submission:&amp;nbsp;&lt;A class="" href="http://bit.ly/igmEiS"&gt;http://bit.ly/igmEiS&lt;/A&gt;. Let's hope the same comes to SSIS/SSAS/SSRS soon.&lt;/P&gt;</description></item></channel></rss>