<?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: The Article every DBA should forward to SQL developers</title>
	<atom:link href="http://freedb2.com/2009/09/08/the-article-every-dba-should-forward-to-sql-developers/feed/" rel="self" type="application/rss+xml" />
	<link>http://freedb2.com/2009/09/08/the-article-every-dba-should-forward-to-sql-developers/</link>
	<description>on DB2 Express-C, MySQL, PostgreSQL, Oracle XE, SQLServer Express and other free databases</description>
	<lastBuildDate>Thu, 02 Sep 2010 18:46:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: DB2 delivers better support for Ruby on Rails &#124; FreeDB2.com</title>
		<link>http://freedb2.com/2009/09/08/the-article-every-dba-should-forward-to-sql-developers/comment-page-1/#comment-6013</link>
		<dc:creator>DB2 delivers better support for Ruby on Rails &#124; FreeDB2.com</dc:creator>
		<pubDate>Fri, 22 Jan 2010 06:26:33 +0000</pubDate>
		<guid isPermaLink="false">http://freedb2.com/?p=738#comment-6013</guid>
		<description>[...] on Rails is now faster and more secure with parametrized query support     Not too long ago, I blogged about importance of getting developers to code parametrized queries  instead of using literal [...]</description>
		<content:encoded><![CDATA[<p>[...] on Rails is now faster and more secure with parametrized query support     Not too long ago, I blogged about importance of getting developers to code parametrized queries  instead of using literal [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans</title>
		<link>http://freedb2.com/2009/09/08/the-article-every-dba-should-forward-to-sql-developers/comment-page-1/#comment-5309</link>
		<dc:creator>Hans</dc:creator>
		<pubDate>Tue, 08 Dec 2009 22:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://freedb2.com/?p=738#comment-5309</guid>
		<description>&gt; The main problem with parameters is when you output the sql statement to 
&gt; a debug log you can not see what parameters have been set for the sql.

Which is a problem of the driver though. 

Some JDBC driver do implement PreparedStatement.toString() such that parameter values are shown.</description>
		<content:encoded><![CDATA[<p>&gt; The main problem with parameters is when you output the sql statement to<br />
&gt; a debug log you can not see what parameters have been set for the sql.</p>
<p>Which is a problem of the driver though. </p>
<p>Some JDBC driver do implement PreparedStatement.toString() such that parameter values are shown.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leon</title>
		<link>http://freedb2.com/2009/09/08/the-article-every-dba-should-forward-to-sql-developers/comment-page-1/#comment-4656</link>
		<dc:creator>Leon</dc:creator>
		<pubDate>Sat, 26 Sep 2009 23:15:43 +0000</pubDate>
		<guid isPermaLink="false">http://freedb2.com/?p=738#comment-4656</guid>
		<description>There is no doubt that there are cases where switching from a literal value to a parameter can lead to a change in the access path and in some cases indeed, it can actually degrade performance. Can this be embarrassing, you bet. But nowhere near as embarrassing when your company is on hte news because some script kiddie or a disgruntle employee compromised security of your data.
I received a lot of questions/comments about SQL injection attacks and their applicability to intranet applications. Many people are under misguided assumption that SQL injection attacks happen only when you have customer facing applications. Don&#039;t let yourself fall in to a false sense of security. Most data security breaches are perpetrated by the insiders. SQL injection attack can be mounted even more effectively by your company&#039;s employee.</description>
		<content:encoded><![CDATA[<p>There is no doubt that there are cases where switching from a literal value to a parameter can lead to a change in the access path and in some cases indeed, it can actually degrade performance. Can this be embarrassing, you bet. But nowhere near as embarrassing when your company is on hte news because some script kiddie or a disgruntle employee compromised security of your data.<br />
I received a lot of questions/comments about SQL injection attacks and their applicability to intranet applications. Many people are under misguided assumption that SQL injection attacks happen only when you have customer facing applications. Don&#8217;t let yourself fall in to a false sense of security. Most data security breaches are perpetrated by the insiders. SQL injection attack can be mounted even more effectively by your company&#8217;s employee.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SAD</title>
		<link>http://freedb2.com/2009/09/08/the-article-every-dba-should-forward-to-sql-developers/comment-page-1/#comment-4644</link>
		<dc:creator>SAD</dc:creator>
		<pubDate>Fri, 25 Sep 2009 15:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://freedb2.com/?p=738#comment-4644</guid>
		<description>The discussion of switching to use a parameter marker instead of a literal is a little flawed, or perhaps just incomplete.

If the SAME access path will be used regardless of the LASTNAME value (to use the provided example), then switching to a parameter is a &#039;duh&#039; move. Clearly, there&#039;s a benefit because the access path, and cost of optimizing the different SQL text each time is eliminated.

On the other hand, if the SQL contains multiple predicates, or the data is sufficiently skewed that only some LASTNAME values should use an index, switching to a parameter marker could be dangerous. The first instance of the SQL coming sets up the access path, and it may not change again. If it&#039;s not the right one for the predicate value, the performance degradation could be considerable and embarrassing.

Like all things DB2: it depends.</description>
		<content:encoded><![CDATA[<p>The discussion of switching to use a parameter marker instead of a literal is a little flawed, or perhaps just incomplete.</p>
<p>If the SAME access path will be used regardless of the LASTNAME value (to use the provided example), then switching to a parameter is a &#8216;duh&#8217; move. Clearly, there&#8217;s a benefit because the access path, and cost of optimizing the different SQL text each time is eliminated.</p>
<p>On the other hand, if the SQL contains multiple predicates, or the data is sufficiently skewed that only some LASTNAME values should use an index, switching to a parameter marker could be dangerous. The first instance of the SQL coming sets up the access path, and it may not change again. If it&#8217;s not the right one for the predicate value, the performance degradation could be considerable and embarrassing.</p>
<p>Like all things DB2: it depends.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leon</title>
		<link>http://freedb2.com/2009/09/08/the-article-every-dba-should-forward-to-sql-developers/comment-page-1/#comment-4524</link>
		<dc:creator>Leon</dc:creator>
		<pubDate>Thu, 17 Sep 2009 19:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://freedb2.com/?p=738#comment-4524</guid>
		<description>Regan Galbraith just pointed out on LinkedIN to this huge case of identity theft that was a result of SQL injection attack. Read and weep. Better yet, if you are using DB2 go to DB2 v9.7 and enable Statement Concentrator to help prevent SQL injection.  
http://news.bbc.co.uk/2/hi/americas/8206305.stm</description>
		<content:encoded><![CDATA[<p>Regan Galbraith just pointed out on LinkedIN to this huge case of identity theft that was a result of SQL injection attack. Read and weep. Better yet, if you are using DB2 go to DB2 v9.7 and enable Statement Concentrator to help prevent SQL injection.<br />
<a href="http://news.bbc.co.uk/2/hi/americas/8206305.stm" rel="nofollow">http://news.bbc.co.uk/2/hi/americas/8206305.stm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://freedb2.com/2009/09/08/the-article-every-dba-should-forward-to-sql-developers/comment-page-1/#comment-4519</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Thu, 17 Sep 2009 13:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://freedb2.com/?p=738#comment-4519</guid>
		<description>The main problem with parameters is when you output the sql statement to a debug log you can not see what parameters have been set for the sql. You have to write debug statements for all the parameters used by the statement so you can found out what went wrong. Now if there was a way to output the actual sql including parameters invoked this would encourage people to use the parameter option more.</description>
		<content:encoded><![CDATA[<p>The main problem with parameters is when you output the sql statement to a debug log you can not see what parameters have been set for the sql. You have to write debug statements for all the parameters used by the statement so you can found out what went wrong. Now if there was a way to output the actual sql including parameters invoked this would encourage people to use the parameter option more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SlightlyCrazy</title>
		<link>http://freedb2.com/2009/09/08/the-article-every-dba-should-forward-to-sql-developers/comment-page-1/#comment-4515</link>
		<dc:creator>SlightlyCrazy</dc:creator>
		<pubDate>Thu, 17 Sep 2009 11:47:42 +0000</pubDate>
		<guid isPermaLink="false">http://freedb2.com/?p=738#comment-4515</guid>
		<description>The Oracle quivlent of the DB2 Statement Concentrator facility would be the Cursor_Sharing parameter
(http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#sthref497 etc)</description>
		<content:encoded><![CDATA[<p>The Oracle quivlent of the DB2 Statement Concentrator facility would be the Cursor_Sharing parameter<br />
(<a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#sthref497" rel="nofollow">http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#sthref497</a> etc)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thadbaCLK</title>
		<link>http://freedb2.com/2009/09/08/the-article-every-dba-should-forward-to-sql-developers/comment-page-1/#comment-4496</link>
		<dc:creator>thadbaCLK</dc:creator>
		<pubDate>Tue, 15 Sep 2009 14:56:56 +0000</pubDate>
		<guid isPermaLink="false">http://freedb2.com/?p=738#comment-4496</guid>
		<description>This is an excellent article! If we would also share it with those, who care about the security of the Data you could also get a good backing of Making the Change! A lot of COTS application drive this effort of not using Host Variables (Speeds the operation of getting the COTS application out the door). Yet many of these COTS allow for rewriting of this process. 

Therefore, for a business what is more important becomes the question. What is the cost to the bottom line? I as DBA say pay now (up front and fix the issue) or they will pay later with slow performance and/or unsecured data being transmitted!</description>
		<content:encoded><![CDATA[<p>This is an excellent article! If we would also share it with those, who care about the security of the Data you could also get a good backing of Making the Change! A lot of COTS application drive this effort of not using Host Variables (Speeds the operation of getting the COTS application out the door). Yet many of these COTS allow for rewriting of this process. </p>
<p>Therefore, for a business what is more important becomes the question. What is the cost to the bottom line? I as DBA say pay now (up front and fix the issue) or they will pay later with slow performance and/or unsecured data being transmitted!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Improve the speed and security of your SQL queries &#124; Zen and the Art of Programming</title>
		<link>http://freedb2.com/2009/09/08/the-article-every-dba-should-forward-to-sql-developers/comment-page-1/#comment-4406</link>
		<dc:creator>Improve the speed and security of your SQL queries &#124; Zen and the Art of Programming</dc:creator>
		<pubDate>Wed, 09 Sep 2009 05:15:42 +0000</pubDate>
		<guid isPermaLink="false">http://freedb2.com/?p=738#comment-4406</guid>
		<description>[...] and end up irritating seasoned DBAs who have to deal with the consequences of their incompetence. Leon Katsnelson argues that this is such an important matter, that every DBA should forward this Computerworld article to [...]</description>
		<content:encoded><![CDATA[<p>[...] and end up irritating seasoned DBAs who have to deal with the consequences of their incompetence. Leon Katsnelson argues that this is such an important matter, that every DBA should forward this Computerworld article to [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
