<?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: Multiple SQL inserts: Oracle, Mysql, Mssql</title>
	<atom:link href="http://cfblog.co.uk/Multiple-inserts-ORACLE-MYSQL-MS-SQL/feed/" rel="self" type="application/rss+xml" />
	<link>http://cfblog.co.uk/multiple-inserts-oracle-mysql-ms-sql/</link>
	<description></description>
	<lastBuildDate>Wed, 06 Jan 2010 20:01:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: JAYESH TALSANIYA</title>
		<link>http://cfblog.co.uk/multiple-inserts-oracle-mysql-ms-sql/comment-page-1/#comment-32</link>
		<dc:creator>JAYESH TALSANIYA</dc:creator>
		<pubDate>Thu, 08 May 2008 20:00:35 +0000</pubDate>
		<guid isPermaLink="false">http://cfblog.co.uk/?p=27#comment-32</guid>
		<description>in mssql u cannot use parentheses in select statement. use as below: 

INSERT INTO [TABLE] (column1,column2)
select &#039;Value1&#039;,&#039;Fernando&#039;
UNION ALL
select &#039;Value2&#039;,&#039;Carlos&#039;
UNION ALL
select &#039;Value3&#039;,&#039;Vincent&#039;</description>
		<content:encoded><![CDATA[<p>in mssql u cannot use parentheses in select statement. use as below: </p>
<p>INSERT INTO [TABLE] (column1,column2)<br />
select &#8216;Value1&#8242;,&#8217;Fernando&#8217;<br />
UNION ALL<br />
select &#8216;Value2&#8242;,&#8217;Carlos&#8217;<br />
UNION ALL<br />
select &#8216;Value3&#8242;,&#8217;Vincent&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JD</title>
		<link>http://cfblog.co.uk/multiple-inserts-oracle-mysql-ms-sql/comment-page-1/#comment-28</link>
		<dc:creator>JD</dc:creator>
		<pubDate>Tue, 15 Apr 2008 14:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://cfblog.co.uk/?p=27#comment-28</guid>
		<description>I found with MSSQL, I couldn&#039;t use parentheses in my select statements for insert.  So, from your example, I had to do:

select &#039;value1&#039;,&#039;Fernando&#039;
union all
select &#039;value2&#039;,&#039;Carlos&#039;
etc.

Thanks for the reference though!</description>
		<content:encoded><![CDATA[<p>I found with MSSQL, I couldn&#8217;t use parentheses in my select statements for insert.  So, from your example, I had to do:</p>
<p>select &#8216;value1&#8242;,&#8217;Fernando&#8217;<br />
union all<br />
select &#8216;value2&#8242;,&#8217;Carlos&#8217;<br />
etc.</p>
<p>Thanks for the reference though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anon</title>
		<link>http://cfblog.co.uk/multiple-inserts-oracle-mysql-ms-sql/comment-page-1/#comment-12</link>
		<dc:creator>Anon</dc:creator>
		<pubDate>Mon, 10 Dec 2007 10:27:44 +0000</pubDate>
		<guid isPermaLink="false">http://cfblog.co.uk/?p=27#comment-12</guid>
		<description>Thanks for that - really helped save my pages from timing out</description>
		<content:encoded><![CDATA[<p>Thanks for that &#8211; really helped save my pages from timing out</p>
]]></content:encoded>
	</item>
</channel>
</rss>

