<?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: Executing direct SQL statements</title>
	<atom:link href="http://www.artofcreation.be/2010/06/21/executing-direct-sql-statements/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.artofcreation.be/2010/06/21/executing-direct-sql-statements/</link>
	<description>The everyday life of a Dynamics AX developer</description>
	<lastBuildDate>Wed,  1 Feb 2012 16:29:10 +0100</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Tommy Skaue</title>
		<link>http://www.artofcreation.be/2010/06/21/executing-direct-sql-statements/comment-page-1/#comment-10407</link>
		<dc:creator>Tommy Skaue</dc:creator>
		<pubDate>Wed, 08 Jun 2011 11:51:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=796#comment-10407</guid>
		<description>I had to wrap my code with ttsbegin and ttscommit in order for this to work.</description>
		<content:encoded><![CDATA[<p>I had to wrap my code with ttsbegin and ttscommit in order for this to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaas Deforche</title>
		<link>http://www.artofcreation.be/2010/06/21/executing-direct-sql-statements/comment-page-1/#comment-5496</link>
		<dc:creator>Klaas Deforche</dc:creator>
		<pubDate>Tue, 16 Nov 2010 14:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=796#comment-5496</guid>
		<description>Hi Jan,

Sorry, I haven&#039;t used a File DSN yet, so I can&#039;t help you with that. I always use a System DSN; are you able to get it working with that?</description>
		<content:encoded><![CDATA[<p>Hi Jan,</p>
<p>Sorry, I haven&#8217;t used a File DSN yet, so I can&#8217;t help you with that. I always use a System DSN; are you able to get it working with that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://www.artofcreation.be/2010/06/21/executing-direct-sql-statements/comment-page-1/#comment-5493</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Tue, 16 Nov 2010 12:19:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=796#comment-5493</guid>
		<description>HI,
Tried to use a File DSN, but no connection was made. Anything spesial to do when using File DSN?
Regards,
Jan</description>
		<content:encoded><![CDATA[<p>HI,<br />
Tried to use a File DSN, but no connection was made. Anything spesial to do when using File DSN?<br />
Regards,<br />
Jan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://www.artofcreation.be/2010/06/21/executing-direct-sql-statements/comment-page-1/#comment-5137</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Thu, 21 Oct 2010 03:04:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=796#comment-5137</guid>
		<description>Hi Michael,

I&#039;ve got the same issue with the executeUpdate() method always returning 0, however many rows have been updated. If you ever happen to have more info on this, I would greatly appreciate if you could share it with me. Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>I&#8217;ve got the same issue with the executeUpdate() method always returning 0, however many rows have been updated. If you ever happen to have more info on this, I would greatly appreciate if you could share it with me. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.artofcreation.be/2010/06/21/executing-direct-sql-statements/comment-page-1/#comment-4839</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 19 Aug 2010 12:14:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.artofcreation.be/?p=796#comment-4839</guid>
		<description>Just one comment to the executeUpdate() Method of statement class.

There seems to be (still) a bug in this method - when using it with DML (insert/update/delete) commands. The result values normally should deliver the number of affected rows. (updated, inserted, deleted)

I always get 0 as result value even if records where affected.


Any ideas how to get this number. 

According to documentation in MSDN executeUpdate should return the updated row count.</description>
		<content:encoded><![CDATA[<p>Just one comment to the executeUpdate() Method of statement class.</p>
<p>There seems to be (still) a bug in this method &#8211; when using it with DML (insert/update/delete) commands. The result values normally should deliver the number of affected rows. (updated, inserted, deleted)</p>
<p>I always get 0 as result value even if records where affected.</p>
<p>Any ideas how to get this number. </p>
<p>According to documentation in MSDN executeUpdate should return the updated row count.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

