<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Database Myths: Stored Procedures vs. Ad Hoc Queries</title>
	<atom:link href="http://www.codingefficiency.com/2009/08/03/database-myths-stored-procedures-vs-ad-hoc-queries/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codingefficiency.com/2009/08/03/database-myths-stored-procedures-vs-ad-hoc-queries/</link>
	<description>All about coding more efficient.</description>
	<lastBuildDate>Sat, 30 Jan 2010 20:47:45 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sebastian</title>
		<link>http://www.codingefficiency.com/2009/08/03/database-myths-stored-procedures-vs-ad-hoc-queries/comment-page-1/#comment-330</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Wed, 04 Nov 2009 14:36:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingefficiency.com/?p=356#comment-330</guid>
		<description>Yes, at least in SQL Server, it doesn&#039;t matter.

Be careful though, it&#039;s easy to build dynamic queries that don&#039;t hit any index.</description>
		<content:encoded><![CDATA[<p>Yes, at least in SQL Server, it doesn&#8217;t matter.</p>
<p>Be careful though, it&#8217;s easy to build dynamic queries that don&#8217;t hit any index.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hemant</title>
		<link>http://www.codingefficiency.com/2009/08/03/database-myths-stored-procedures-vs-ad-hoc-queries/comment-page-1/#comment-329</link>
		<dc:creator>Hemant</dc:creator>
		<pubDate>Wed, 04 Nov 2009 13:00:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingefficiency.com/?p=356#comment-329</guid>
		<description>So, does this mean that whether I use a stored procedure or fire a query from my app using some data-access logic .. both count the same in terms of performance.

That is - there&#039;s no extra benefit of &#039;compiled&#039; query, infact it is better to have a &#039;dynamic&#039; query built-up&#039; on the app side whihc provides great flexibility !!!

Please clarify/confirm my doubts ...</description>
		<content:encoded><![CDATA[<p>So, does this mean that whether I use a stored procedure or fire a query from my app using some data-access logic .. both count the same in terms of performance.</p>
<p>That is &#8211; there&#8217;s no extra benefit of &#8216;compiled&#8217; query, infact it is better to have a &#8216;dynamic&#8217; query built-up&#8217; on the app side whihc provides great flexibility !!!</p>
<p>Please clarify/confirm my doubts &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://www.codingefficiency.com/2009/08/03/database-myths-stored-procedures-vs-ad-hoc-queries/comment-page-1/#comment-105</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Wed, 05 Aug 2009 22:14:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingefficiency.com/?p=356#comment-105</guid>
		<description>Yes, you have way more control if you set the rights at the table level, yet one has to admit that you usually don&#039;t create stored procedures that do everything.

And yes, naming is absolutely important but that isn&#039;t limited to stored procedures.</description>
		<content:encoded><![CDATA[<p>Yes, you have way more control if you set the rights at the table level, yet one has to admit that you usually don&#8217;t create stored procedures that do everything.</p>
<p>And yes, naming is absolutely important but that isn&#8217;t limited to stored procedures.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DotNetBurner - SQL Server</title>
		<link>http://www.codingefficiency.com/2009/08/03/database-myths-stored-procedures-vs-ad-hoc-queries/comment-page-1/#comment-97</link>
		<dc:creator>DotNetBurner - SQL Server</dc:creator>
		<pubDate>Tue, 04 Aug 2009 01:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingefficiency.com/?p=356#comment-97</guid>
		<description>&lt;strong&gt;Database Myths: Stored Procedures vs. Ad Hoc Queries &#124; Coding Efficiency...&lt;/strong&gt;

DotNetBurner - burning hot .net content...</description>
		<content:encoded><![CDATA[<p><strong>Database Myths: Stored Procedures vs. Ad Hoc Queries | Coding Efficiency&#8230;</strong></p>
<p>DotNetBurner &#8211; burning hot .net content&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robz</title>
		<link>http://www.codingefficiency.com/2009/08/03/database-myths-stored-procedures-vs-ad-hoc-queries/comment-page-1/#comment-96</link>
		<dc:creator>Robz</dc:creator>
		<pubDate>Mon, 03 Aug 2009 23:05:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingefficiency.com/?p=356#comment-96</guid>
		<description>Security is a BIG WRONG for Stored Procs. Grant Execute versus Grant Select from a table. You know EXACTLY what the select allows and doesn&#039;t allow. Granting execute on a stored proc really gives someone the ability to create, update, delete, and select all in ONE.  You say naming the sprocs accordingly is the answer (i.e. Something_SELECT)? What happens when you get out of sync with the name and someone executes something that makes updates to production???! Ouch...

True story.</description>
		<content:encoded><![CDATA[<p>Security is a BIG WRONG for Stored Procs. Grant Execute versus Grant Select from a table. You know EXACTLY what the select allows and doesn&#8217;t allow. Granting execute on a stored proc really gives someone the ability to create, update, delete, and select all in ONE.  You say naming the sprocs accordingly is the answer (i.e. Something_SELECT)? What happens when you get out of sync with the name and someone executes something that makes updates to production???! Ouch&#8230;</p>
<p>True story.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DotNetShoutout</title>
		<link>http://www.codingefficiency.com/2009/08/03/database-myths-stored-procedures-vs-ad-hoc-queries/comment-page-1/#comment-95</link>
		<dc:creator>DotNetShoutout</dc:creator>
		<pubDate>Mon, 03 Aug 2009 17:00:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.codingefficiency.com/?p=356#comment-95</guid>
		<description>&lt;strong&gt;Database Myths: Stored Procedures vs. Ad Hoc Queries &#124; Coding Efficiency...&lt;/strong&gt;

Thank you for submitting this cool story - Trackback from DotNetShoutout...</description>
		<content:encoded><![CDATA[<p><strong>Database Myths: Stored Procedures vs. Ad Hoc Queries | Coding Efficiency&#8230;</strong></p>
<p>Thank you for submitting this cool story &#8211; Trackback from DotNetShoutout&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.993 seconds -->
