<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://consultingblogs.emc.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>SSIS Junkie : Microsoft Connect</title><link>http://consultingblogs.emc.com/jamiethomson/archive/tags/Microsoft+Connect/default.aspx</link><description>Tags: Microsoft Connect</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>SSDS: I'm gonna get 500 results and then I'll get 500 more...</title><link>http://consultingblogs.emc.com/jamiethomson/archive/2008/06/27/ssds-i-m-gonna-get-500-results-and-then-i-ll-get-500-more.aspx</link><pubDate>Fri, 27 Jun 2008 12:41:00 GMT</pubDate><guid isPermaLink="false">e847c0e7-38d9-45c0-b593-56747303e088:11594</guid><dc:creator>jamie.thomson</dc:creator><slash:comments>0</slash:comments><comments>http://consultingblogs.emc.com/jamiethomson/comments/11594.aspx</comments><wfw:commentRss>http://consultingblogs.emc.com/jamiethomson/commentrss.aspx?PostID=11594</wfw:commentRss><wfw:comment>http://consultingblogs.emc.com/jamiethomson/rsscomments.aspx?PostID=11594</wfw:comment><description>&lt;P&gt;I recently got accepted onto the &lt;A class="" href="http://www.microsoft.com/sql/dataservices/default.mspx" target=_blank&gt;SQL Server Data Services (SSDS)&lt;/A&gt;&amp;nbsp;beta program and have been getting to grips with the how, what and why of the service. For those that don't know SSDS is a &lt;A class="" href="http://blogs.conchango.com/tags/cloud+computing/default.aspx" target=_blank&gt;cloud computing&lt;/A&gt;&amp;nbsp;platform from Microsoft&amp;nbsp;that allows us to store data in the cloud rather than host it on our own database servers. The data is available over HTTP via &lt;A class="" href="http://blogs.conchango.com/tags/rest/default.aspx" target=_blank&gt;RESTful&lt;/A&gt;&amp;nbsp;or SOAP protocols.&lt;/P&gt;
&lt;P&gt;During a &lt;A class="" href="http://forums.msdn.microsoft.com/en-US/ssdsgetstarted/thread/67c0570d-acb6-4dff-9b9b-bc0ee37e9c27" target=_blank&gt;recent discussion&lt;/A&gt; on the &lt;A class="" href="http://forums.msdn.microsoft.com/en-US/ssdsgetstarted/threads/" target=_blank&gt;SSDS forum&lt;/A&gt; &lt;A class="" href="http://profile.msdn.microsoft.com/en-us/?view=Tony+Petrossian&amp;amp;referrer=http%253A%2f%2fforums.msdn.microsoft.com%2fen-US%2fssdsgetstarted%2fthread%2f67c0570d-acb6-4dff-9b9b-bc0ee37e9c27" target=_blank&gt;Tony Petrossian&lt;/A&gt; who works on the SSDS team proclaimed:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;If a query has a result set smaller or equal to 500 then you get all the results of the query in one page.&amp;nbsp; If a query has more than 500 entities in the result set then you need to run the query multiple times to get all the results (500 at a time).&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Interesting.&amp;nbsp;That may come as a shock to those of us familiar with querying a database; we are used to asking for a resultset and getting all of it back in one fell swoop. What it DOES do is underline the fact that data services are a different paradigm than databases and we shouldn't make assumptions on how&amp;nbsp;data services function&amp;nbsp;based on&amp;nbsp;behaviour that&amp;nbsp;we are already used to.&lt;/P&gt;
&lt;P&gt;A number of &lt;A class="" href="http://forums.msdn.microsoft.com/en-US/ssdsgetstarted/thread/5c394546-f238-466e-b3f8-c58cc6633d13" target=_blank&gt;questions&lt;/A&gt; arise once you know about this artificial limit:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV&gt;Firstly, &lt;STRONG&gt;Why is the result set capped at all?&lt;/STRONG&gt; Its fairly simple really. Its not a good idea to saturate yours and other people's internet connection by pulling back all results at once, especially when the results are delivered&amp;nbsp;as verbose XML. If your resultset has millions of records in it then that's a lot of data to&amp;nbsp;be pulled across an already &lt;A class="" href="http://www.vnunet.com/vnunet/news/2203809/internet-face-meltdown-2010" target=_blank&gt;creaking internet backbone&lt;/A&gt;.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;&lt;STRONG&gt;Am I now unable to get at records that don't get returned in the first 500?&lt;/STRONG&gt; Fear not, you're not being restricted from accessing your data. The SSDS team have effectively implemented a paging algorithm that chunks the data up into into 500-record pages. Tony has posted &lt;A class="" href="http://forums.msdn.microsoft.com/en-US/ssdsgetstarted/thread/67c0570d-acb6-4dff-9b9b-bc0ee37e9c27" target=_blank&gt;some code&lt;/A&gt; that demonstrates how to iterate over these pages and return all the data.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;&lt;STRONG&gt;Using that code am I not going to end up making requests for data when there isn't any to be returned?&lt;/STRONG&gt; Its true that if you use Tony's code then its possible that the very last request won't contain any data but given that this can only occur when the number of results is exactly divisible by 500 then&amp;nbsp;is it&amp;nbsp;really a problem? How often are you going to be returning more than 500 results anyway? There was general consensus on the &lt;A class="" href="http://forums.msdn.microsoft.com/en-US/ssdsgetstarted/thread/5c394546-f238-466e-b3f8-c58cc6633d13" target=_blank&gt;discusson thread&lt;/A&gt; that it would be nice to know if the resultset had been capped or not so its possible that that feature may be added later in the beta cycle. Let me know what you think about this one.&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;&lt;STRONG&gt;Is it possible that I will miss records that get created in between the first and last page&amp;nbsp;request?&lt;/STRONG&gt; Yes, this is definitely possible.&amp;nbsp;Do you think there are scenarios in which this becomes a problem? Remember that paging algorithms have been in use for years and its possible to miss newly created records when using those as well or, probably even worse, its possible that you get some records more than once (depends on your paging algorithm).&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV&gt;&lt;STRONG&gt;Will the value of 500 be configurable?&lt;/STRONG&gt; I asked this on the &lt;A class="" href="http://forums.msdn.microsoft.com/en-US/ssdsgetstarted/thread/5c394546-f238-466e-b3f8-c58cc6633d13" target=_blank&gt;discussion thread&lt;/A&gt; and at the time of writing haven't received an answer.&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;More to come on SSDS in the future.&lt;/P&gt;
&lt;P&gt;-Jamie&lt;/P&gt;&lt;img src="http://consultingblogs.emc.com/aggbug.aspx?PostID=11594" width="1" height="1"&gt;</description><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/Microsoft+Connect/default.aspx">Microsoft Connect</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/REST/default.aspx">REST</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/SSDS/default.aspx">SSDS</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/SQL+Server+Data+Services/default.aspx">SQL Server Data Services</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/cloud+computing/default.aspx">cloud computing</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/RESTful/default.aspx">RESTful</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/SDS/default.aspx">SDS</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/SQL+Data+Services/default.aspx">SQL Data Services</category></item><item><title>More T-SQL Goodness in SQL Server 2008 (codename katmai)</title><link>http://consultingblogs.emc.com/jamiethomson/archive/2007/08/17/More-T_2D00_SQL-Goodness-in-SQL-Server-2008-_2800_codename-katmai_2900_.aspx</link><pubDate>Fri, 17 Aug 2007 19:33:00 GMT</pubDate><guid isPermaLink="false">e847c0e7-38d9-45c0-b593-56747303e088:8165</guid><dc:creator>jamie.thomson</dc:creator><slash:comments>2</slash:comments><comments>http://consultingblogs.emc.com/jamiethomson/comments/8165.aspx</comments><wfw:commentRss>http://consultingblogs.emc.com/jamiethomson/commentrss.aspx?PostID=8165</wfw:commentRss><wfw:comment>http://consultingblogs.emc.com/jamiethomson/rsscomments.aspx?PostID=8165</wfw:comment><description>&lt;p&gt;Back in June I &lt;a href="http://blogs.conchango.com/jamiethomson/archive/2007/06/04/Katmai_3A00_-New-T_2D00_SQL-enhancements.aspx" target="_blank"&gt;talked&lt;/a&gt; about some T-SQL enhancements that are coming our way in SQL Server 2008. One of those things is the ability to define multiple rows in an INSERT statement like so:&lt;/p&gt;&lt;div style="font-size:14pt;background:white;color:black;font-family:lucida console;"&gt;&lt;p style="margin:0px;"&gt;&lt;span style="color:blue;"&gt;insert &lt;/span&gt;t1 &lt;span style="color:blue;"&gt;values &lt;/span&gt;(@i),(@i+1);&lt;/p&gt;&lt;p style="margin:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;p style="margin:0px;"&gt;Very cool stuff.&amp;nbsp; Some people seem to be naming this feature &amp;#39;row constructors&amp;#39;.&lt;/p&gt;&lt;p style="margin:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0px;"&gt;Well Greg Duncan has been exploring in more detail and has discovered some more very cool things that you can do with row constructors. I don&amp;#39;t&amp;nbsp;often write blog posts solely for the purpose of linking to someone else but this is too good to miss. If you have any interest at all in writing T-SQL code then head &lt;a href="http://coolthingoftheday.blogspot.com/2007/08/more-sql-server-2008-t-sql-coolness.html" target="_blank"&gt;here&lt;/a&gt; and read what Greg has to say.&lt;/p&gt;&lt;p style="margin:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0px;"&gt;-Jamie&lt;/p&gt;&lt;p style="margin:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://consultingblogs.emc.com/aggbug.aspx?PostID=8165" width="1" height="1"&gt;</description><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/SQL+Server/default.aspx">SQL Server</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/T-SQL/default.aspx">T-SQL</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/katmai/default.aspx">katmai</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/Microsoft+Connect/default.aspx">Microsoft Connect</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/sqL+server+2008/default.aspx">sqL server 2008</category></item><item><title>SSIS: Would you like to be able to execute a task from the command-line?</title><link>http://consultingblogs.emc.com/jamiethomson/archive/2007/05/01/SSIS_3A00_-Would-you-like-to-be-able-to-execute-a-task-from-the-command_2D00_line_3F00_.aspx</link><pubDate>Tue, 01 May 2007 18:41:00 GMT</pubDate><guid isPermaLink="false">e847c0e7-38d9-45c0-b593-56747303e088:6817</guid><dc:creator>jamie.thomson</dc:creator><slash:comments>0</slash:comments><comments>http://consultingblogs.emc.com/jamiethomson/comments/6817.aspx</comments><wfw:commentRss>http://consultingblogs.emc.com/jamiethomson/commentrss.aspx?PostID=6817</wfw:commentRss><wfw:comment>http://consultingblogs.emc.com/jamiethomson/rsscomments.aspx?PostID=6817</wfw:comment><description>&lt;p&gt;When building packages in the SSIS Designer within BIDS you are able to execute a task or a&amp;nbsp;container in isolation. This is really useful for development purposes.&lt;/p&gt;&lt;p&gt;Unfortunately executing tasks/containers from the SSIS Designer suffers from the same problems as executing packages in the SSIS Designer - it is slow (if you want some stats around this then read &lt;a href="http://www.sqlis.com/84.aspx"&gt;this article&lt;/a&gt; from Allan Mitchell and Darren Green). I would like the ability to execute tasks/containers from the command-line and hence I submitted &lt;a href="https://connect.microsoft.com/feedback/viewfeedback.aspx?FeedbackID=126482&amp;amp;wa=wsignin1.0&amp;amp;siteid=68"&gt;this suggestion&lt;/a&gt; on &lt;a href="https://connect.microsoft.com/"&gt;Connect&lt;/a&gt;. I got a reply from Deniz Erkan, one of the Program Managers on the SSIS team saying:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;em&gt;Thanks for the suggestion, I can definitely see how this would be helpful. However, when we consider this in the context of other features we are planning to have in Katmai, it ranks lower in priority. We&amp;#39;ll close this for now, and will look into this in Katmai+.&lt;/em&gt; &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;That&amp;#39;s fair enough, however I&amp;#39;d still like to push for getting this feature included at some point. Hence, if you think you would like this functionality added to SSIS then click-through on the link above and vote. Add a comment too.&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;-Jamie&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://consultingblogs.emc.com/aggbug.aspx?PostID=6817" width="1" height="1"&gt;</description><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/SQL+Server+Integration+Services/default.aspx">SQL Server Integration Services</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/SSIS/default.aspx">SSIS</category><category domain="http://consultingblogs.emc.com/jamiethomson/archive/tags/Microsoft+Connect/default.aspx">Microsoft Connect</category></item></channel></rss>