<?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 Incredible Bulk</title>
	<atom:link href="http://pocoproject.org/blog/?feed=rss2&#038;p=113" rel="self" type="application/rss+xml" />
	<link>http://pocoproject.org/blog/?p=113</link>
	<description>News and discussion for the POCO Community</description>
	<lastBuildDate>Sun, 26 May 2013 14:39:39 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: alex</title>
		<link>http://pocoproject.org/blog/?p=113&#038;cpage=1#comment-295</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Wed, 02 Jan 2008 15:34:38 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=113#comment-295</guid>
		<description>James,

Thanks for the tip. There is a difference between bulk and multiple statements, however. Bulk insert operates with supplied container(s) as parameter array(s) passed to the driver. From there, it entirely depends what driver does with it - some turn it into multiple statements, some (e.g. Oracle) do one statement and pass the array(s) to the db.

Since we currently treat SQL code as a &quot;black box&quot;, your suggestion is only applicable at the user level where user can choose whether to pass SQL string as multiple statements separated by &#039;;&#039;, or only one statement in the way you suggest.

Alex</description>
		<content:encoded><![CDATA[<p>James,</p>
<p>Thanks for the tip. There is a difference between bulk and multiple statements, however. Bulk insert operates with supplied container(s) as parameter array(s) passed to the driver. From there, it entirely depends what driver does with it &#8211; some turn it into multiple statements, some (e.g. Oracle) do one statement and pass the array(s) to the db.</p>
<p>Since we currently treat SQL code as a &#8220;black box&#8221;, your suggestion is only applicable at the user level where user can choose whether to pass SQL string as multiple statements separated by &#8216;;&#8217;, or only one statement in the way you suggest.</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Mansion</title>
		<link>http://pocoproject.org/blog/?p=113&#038;cpage=1#comment-294</link>
		<dc:creator>James Mansion</dc:creator>
		<pubDate>Wed, 02 Jan 2008 14:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=113#comment-294</guid>
		<description>If you need a workaround for non-implementation of bulk for insert, then I suggest comapring multiple insert statements with:

insert foo select 1, &#039;a&#039;
     union select 2, &#039;b&#039;
     union select 3, &#039;c&#039;

It works quite well where I&#039;ve tried it - especially it seems on SQLServer and Sybase where triggers run per-statement, not per-row.

James</description>
		<content:encoded><![CDATA[<p>If you need a workaround for non-implementation of bulk for insert, then I suggest comapring multiple insert statements with:</p>
<p>insert foo select 1, &#8216;a&#8217;<br />
     union select 2, &#8216;b&#8217;<br />
     union select 3, &#8216;c&#8217;</p>
<p>It works quite well where I&#8217;ve tried it &#8211; especially it seems on SQLServer and Sybase where triggers run per-statement, not per-row.</p>
<p>James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://pocoproject.org/blog/?p=113&#038;cpage=1#comment-298</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Fri, 21 Dec 2007 02:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=113#comment-298</guid>
		<description>As can be seen from the corrections above, I managed to do blobs with PostgreSQL, albeit on windows only. MySQL refuses to do it, so for now bulk is not supported w/ MySQL ODBC (luckily, the native connector work is in progress).

std::deque and std::list are now suppoerted for bulk operations alongside std::vector (when it comes to input binding, std::vector offers better performance for POD types, since there is no internal caching and copying).

And then, internal extraction can now do bulk as well (for the drivers willing to cooperate).

We need testers, especially on non-windows platforms! Please check out the trunk and give it a try.</description>
		<content:encoded><![CDATA[<p>As can be seen from the corrections above, I managed to do blobs with PostgreSQL, albeit on windows only. MySQL refuses to do it, so for now bulk is not supported w/ MySQL ODBC (luckily, the native connector work is in progress).</p>
<p>std::deque and std::list are now suppoerted for bulk operations alongside std::vector (when it comes to input binding, std::vector offers better performance for POD types, since there is no internal caching and copying).</p>
<p>And then, internal extraction can now do bulk as well (for the drivers willing to cooperate).</p>
<p>We need testers, especially on non-windows platforms! Please check out the trunk and give it a try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://pocoproject.org/blog/?p=113&#038;cpage=1#comment-296</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Mon, 17 Dec 2007 02:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=113#comment-296</guid>
		<description>John,

You can check documentation for &lt;a href=&quot;http://www.unixodbc.org/&quot; rel=&quot;nofollow&quot;&gt;unixODBC&lt;/a&gt; or &lt;a href=&quot;http://www.iodbc.org/&quot; rel=&quot;nofollow&quot;&gt;iODBC&lt;/a&gt; and &lt;a href=&quot;http://www.freetds.org/&quot; rel=&quot;nofollow&quot;&gt;FreeTDS&lt;/a&gt;. Link to Poco::Data manual is in the post above (bear in mind that manual reflects features available in SVN).

Alex</description>
		<content:encoded><![CDATA[<p>John,</p>
<p>You can check documentation for <a href="http://www.unixodbc.org/" rel="nofollow">unixODBC</a> or <a href="http://www.iodbc.org/" rel="nofollow">iODBC</a> and <a href="http://www.freetds.org/" rel="nofollow">FreeTDS</a>. Link to Poco::Data manual is in the post above (bear in mind that manual reflects features available in SVN).</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Lemon</title>
		<link>http://pocoproject.org/blog/?p=113&#038;cpage=1#comment-297</link>
		<dc:creator>John Lemon</dc:creator>
		<pubDate>Mon, 17 Dec 2007 01:30:30 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=113#comment-297</guid>
		<description>Is there a guide to using POCO data with MSSQL on a unix system? It would help a lot of people if someone could simply write a guide. Poco is one of the greatest frameworks out there, can&#039;t wait to see what comes next.</description>
		<content:encoded><![CDATA[<p>Is there a guide to using POCO data with MSSQL on a unix system? It would help a lot of people if someone could simply write a guide. Poco is one of the greatest frameworks out there, can&#8217;t wait to see what comes next.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
