<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://bloggingabout.net/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>Patrick Wellink - All Comments</title><link>http://bloggingabout.net/blogs/wellink/default.aspx</link><description>BizTalk Server 2004 / 2006, Using C#, Disposing VB and anything else I want to share with the community</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: Excellent post of Charles Young about Dublin and BizTalk</title><link>http://bloggingabout.net/blogs/wellink/archive/2008/10/16/excellent-post-of-charles-young-about-dublin-and-biztalk.aspx#475622</link><pubDate>Thu, 16 Oct 2008 13:39:21 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:475622</guid><dc:creator>Erwyn van der Meer</dc:creator><description>&lt;p&gt;Thanks for the link. Interesting read, even for a Microsoftee ;)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=475622" width="1" height="1"&gt;</description></item><item><title>re: Excellent post of Charles Young about Dublin and BizTalk</title><link>http://bloggingabout.net/blogs/wellink/archive/2008/10/16/excellent-post-of-charles-young-about-dublin-and-biztalk.aspx#475621</link><pubDate>Thu, 16 Oct 2008 12:01:01 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:475621</guid><dc:creator>Patrick Wellink</dc:creator><description>&lt;p&gt;oops&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=475621" width="1" height="1"&gt;</description></item><item><title>re: Excellent post of Charles Young about Dublin and BizTalk</title><link>http://bloggingabout.net/blogs/wellink/archive/2008/10/16/excellent-post-of-charles-young-about-dublin-and-biztalk.aspx#475617</link><pubDate>Thu, 16 Oct 2008 08:37:53 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:475617</guid><dc:creator>Jean-Paul Smit</dc:creator><description>&lt;p&gt;Your direct links don&amp;#39;t work......the link to the blog of Charles does.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=475617" width="1" height="1"&gt;</description></item><item><title>re: How to expose an old style WSDL with the schema's included from BizTalk 2006 R2 with a WCF adapter</title><link>http://bloggingabout.net/blogs/wellink/archive/2008/10/06/how-to-expose-an-old-style-wsdl-with-the-schema-s-included-from-biztalk-2006-r2.aspx#475166</link><pubDate>Tue, 07 Oct 2008 06:10:45 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:475166</guid><dc:creator>Patrick Wellink</dc:creator><description>&lt;p&gt;Oeps !!&lt;/p&gt;
&lt;p&gt;verbeterd&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=475166" width="1" height="1"&gt;</description></item><item><title>re: How to expose an old style WSDL with the schema's included from BizTalk 2006 R2 with a WCF adapter</title><link>http://bloggingabout.net/blogs/wellink/archive/2008/10/06/how-to-expose-an-old-style-wsdl-with-the-schema-s-included-from-biztalk-2006-r2.aspx#475145</link><pubDate>Mon, 06 Oct 2008 13:29:21 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:475145</guid><dc:creator>Jean-Paul Smit</dc:creator><description>&lt;p&gt;Als je de machinenaam onlees wil maken, haal hem dan ook uit de titelbalk van IE :-)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=475145" width="1" height="1"&gt;</description></item><item><title>PiRootOfPi Blog  &amp;raquo; Blog Archive   &amp;raquo; Copy Files From Global Assembly Cache (GAC)</title><link>http://bloggingabout.net/blogs/wellink/archive/2006/07/12/12947.aspx#475086</link><pubDate>Fri, 03 Oct 2008 18:37:40 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:475086</guid><dc:creator>PiRootOfPi Blog  » Blog Archive   » Copy Files From Global Assembly Cache (GAC)</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;PiRootOfPi Blog &amp;nbsp;&amp;raquo; Blog Archive &amp;nbsp; &amp;raquo; Copy Files From Global Assembly Cache (GAC)&lt;/p&gt;
&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=475086" width="1" height="1"&gt;</description></item><item><title>BizTalk Web Service Publishing Wizard Error: Method not found: System.Xml.Serialization.XmlMapping.get_ElementName()</title><link>http://bloggingabout.net/blogs/wellink/archive/2007/05/22/solving-the-microsoft-biztalk-webservices-publishingexception-with-imported-schema-s.aspx#470199</link><pubDate>Sat, 02 Aug 2008 14:59:35 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:470199</guid><dc:creator>BlogNote</dc:creator><description>&lt;p&gt;BizTalk Web Service Publishing Wizard Error: Method not found: System.Xml.Serialization.XmlMapping.get_ElementName()&lt;/p&gt;
&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=470199" width="1" height="1"&gt;</description></item><item><title>Updating repeating nodes in an XML Document with the same value using XPathMutatorStream &amp;laquo; Connected Thoughts</title><link>http://bloggingabout.net/blogs/wellink/archive/2006/07/12/12947.aspx#459637</link><pubDate>Sat, 31 May 2008 10:40:50 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:459637</guid><dc:creator>Updating repeating nodes in an XML Document with the same value using XPathMutatorStream « Connected Thoughts</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Updating repeating nodes in an XML Document with the same value using XPathMutatorStream &amp;laquo; Connected Thoughts&lt;/p&gt;
&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=459637" width="1" height="1"&gt;</description></item><item><title>Updating repeating nodes in an XML Document with the same value using XPathMutatorStream &amp;laquo; Connected Thoughts</title><link>http://bloggingabout.net/blogs/wellink/archive/2006/03/03/11207.aspx#459636</link><pubDate>Sat, 31 May 2008 10:40:46 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:459636</guid><dc:creator>Updating repeating nodes in an XML Document with the same value using XPathMutatorStream « Connected Thoughts</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Updating repeating nodes in an XML Document with the same value using XPathMutatorStream &amp;laquo; Connected Thoughts&lt;/p&gt;
&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=459636" width="1" height="1"&gt;</description></item><item><title>re: Using a Bitwise AND in a BizTalk Send Port as a Filter Expression</title><link>http://bloggingabout.net/blogs/wellink/archive/2008/03/20/using-a-bitwise-and-in-a-biztalk-send-port-as-a-filter-expression.aspx#458059</link><pubDate>Thu, 20 Mar 2008 16:01:02 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:458059</guid><dc:creator>Kenton Price</dc:creator><description>&lt;p&gt;The Brits on this project have had a bet known as a Wags for such technical arguments: whoever wins the argument gets the loser to buy them dinner at Wagamama in Amsterdam. Had we bet it, I would certainly have lost my first Wags to you on the existence of this operator - well done :) I can&amp;#39;t find any significant documentation on it, beyond a passing mention in Charles Young&amp;#39;s seminal How Subscription Works blog entry. As we saw yesterday, if you add a send port and click Filters, before you select any promoted property you can select the &amp;quot;&amp;amp;&amp;quot; from the Operator dropdown - however, unless you have any promoted properties of type unsigned int deployed (which you don&amp;#39;t in a default BTS install), the &amp;quot;&amp;amp;&amp;quot; then immediately disappears from the Operator dropdown!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=458059" width="1" height="1"&gt;</description></item><item><title>re: The truth about Dynamic SQL and Stored Procedures....</title><link>http://bloggingabout.net/blogs/wellink/archive/2008/01/07/the-truth-about-dynamic-sql-and-stored-procedures.aspx#454878</link><pubDate>Tue, 08 Jan 2008 07:44:24 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:454878</guid><dc:creator>Patrick Wellink</dc:creator><description>&lt;p&gt;I understand your point but I have seen bad Dynamic SQl as well...&lt;/p&gt;
&lt;p&gt;But your statement :&lt;/p&gt;
&lt;p&gt;you can handle large amounts of data in them much more effeciently than via code. Because that's what SQL Server or Oracle do best. If you need performance, do it at the source.&lt;/p&gt;
&lt;p&gt;I totally agree with you at this point. But this implies that you have yo implement some logic in SQL.&lt;/p&gt;
&lt;p&gt;You sould always consider where you put stuff. For simple selects and updates it's ok to use dynamic SQL. But as soon as the words 'Large amounts of data' are uttered you should consider switching to Sproc's. Unfortunately this also means you have to implement part of the Business logic in SQL as well.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=454878" width="1" height="1"&gt;</description></item><item><title>re: The truth about Dynamic SQL and Stored Procedures....</title><link>http://bloggingabout.net/blogs/wellink/archive/2008/01/07/the-truth-about-dynamic-sql-and-stored-procedures.aspx#454873</link><pubDate>Tue, 08 Jan 2008 07:03:12 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:454873</guid><dc:creator>Dennis van der Stelt</dc:creator><description>&lt;p&gt;Patrick, there's not a good reason to have thousands of lines of code in a single method, and there isn't one to have them in your sproc. But still people do so.&lt;/p&gt;
&lt;p&gt;Of course this isn't about that you can never use stored procedures. Because sometimes, you can handle large amounts of data in them much more effeciently than via code. Because that's what SQL Server or Oracle do best. If you need performance, do it at the source.&lt;/p&gt;
&lt;p&gt;But my problem with stored procedures is that so many times I come across them when there's so much business logic in them. And they're still harder to debug than regular code. People should use stored procedures for retrieving and changing data. Not for business rules or all other kinds of stuff...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=454873" width="1" height="1"&gt;</description></item><item><title>re: The truth about Dynamic SQL and Stored Procedures....</title><link>http://bloggingabout.net/blogs/wellink/archive/2008/01/07/the-truth-about-dynamic-sql-and-stored-procedures.aspx#454690</link><pubDate>Mon, 07 Jan 2008 21:35:02 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:454690</guid><dc:creator>Chilberto</dc:creator><description>&lt;p&gt;An important factor in this discussion should be what is being built. &amp;nbsp;A lot of smaller systems do not require the overhead of stored procedures and would probably benefit from a more &amp;quot;fluid&amp;quot; development environment.&lt;/p&gt;
&lt;p&gt;From my standpoint, I prefer stored procedures for business applications that will involve more than one developer over its lifetime. &amp;nbsp;They tend to be easier to maintain, analyze and tune.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=454690" width="1" height="1"&gt;</description></item><item><title>re: The truth about Dynamic SQL and Stored Procedures....</title><link>http://bloggingabout.net/blogs/wellink/archive/2008/01/07/the-truth-about-dynamic-sql-and-stored-procedures.aspx#454662</link><pubDate>Mon, 07 Jan 2008 20:16:48 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:454662</guid><dc:creator>Patrick Wellink</dc:creator><description>&lt;p&gt;I have build stored procs of hundreds of lines. This sproc came instead of a sproc of a couple of lines. (The programmers never thought it would get slow) but in time the database grows, and finally they end up with a menu that's just tooooo slow. &lt;/p&gt;
&lt;p&gt;This was for the Main menu of I-Mode. So when the simple query didn't work within the specified time frame, it was very simple to rewrite the query and use some logic to speed it up.&lt;/p&gt;
&lt;p&gt;So then we ended up with a versiopn 1200 times faster then the original. &lt;/p&gt;
&lt;p&gt;This kind of tuning simply cannot be done via dynamic sql. (Sure, you could rewrite the query and compile the dll and deploy that. but that has way more impacht then changing a sproc)&lt;/p&gt;
&lt;p&gt;Don't get me wrong, I am not against Dynamic SQL. But I aint against SPROC's eiter.&lt;/p&gt;
&lt;p&gt;And you hit a very good point in your comments. You must Optimize them both.....&lt;/p&gt;
&lt;p&gt;But who would you trust more to deliver performant code. A programmer or a DBA ? personally I would think a DBA would deliver more performant databases.&lt;/p&gt;
&lt;p&gt;And finally dennis, I wont say a sproc of thousands of lines is all that well either. But maybe there was a very valid reason for doing it, or maybe there wasn't one. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=454662" width="1" height="1"&gt;</description></item><item><title>re: The truth about Dynamic SQL and Stored Procedures....</title><link>http://bloggingabout.net/blogs/wellink/archive/2008/01/07/the-truth-about-dynamic-sql-and-stored-procedures.aspx#454638</link><pubDate>Mon, 07 Jan 2008 19:35:39 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:454638</guid><dc:creator>Dennis van der Stelt</dc:creator><description>&lt;p&gt;If you can optimize/tune stored procs, you can optimize dynamic sql. Simple.&lt;/p&gt;
&lt;p&gt;Same goes for LINQ to SQL or other O/RM, you must optimize everything. And choose the correct technology to solve problems. LINQ to SQL or other O/RM help you solve problems by making them easier. If you need complete control over performance, use a stored proc.&lt;/p&gt;
&lt;p&gt;I've seen stored procs of thousands of lines. Tell me, how are you going to optimize that?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=454638" width="1" height="1"&gt;</description></item></channel></rss>