<?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: How to generate sequences and surrogate keys in generic SQL</title>
	<atom:link href="http://www.xaprb.com/blog/2006/04/20/sequences-and-surrogate-keys-in-generic-sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2006/04/20/sequences-and-surrogate-keys-in-generic-sql/</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:56:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: osql</title>
		<link>http://www.xaprb.com/blog/2006/04/20/sequences-and-surrogate-keys-in-generic-sql/#comment-4867</link>
		<dc:creator>osql</dc:creator>
		<pubDate>Wed, 07 Mar 2007 12:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=136#comment-4867</guid>
		<description>&lt;p&gt;I&#039;ve already created the table, the column I want to have is a primary key number column, which has already got data inserted into it can you help?
I want the number to be auto generated.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;ve already created the table, the column I want to have is a primary key number column, which has already got data inserted into it can you help?<br />
I want the number to be auto generated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/04/20/sequences-and-surrogate-keys-in-generic-sql/#comment-2151</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Wed, 11 Oct 2006 12:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=136#comment-2151</guid>
		<description>&lt;p&gt;Not that I can think of right away.  To do that you have to number the rows you&#039;re inserting, and add an offset to make them begin at the largest number in the table.  You could do this by &lt;a href=&quot;/blog/2005/09/27/simulating-the-sql-row_number-function/&quot; rel=&quot;nofollow&quot;&gt;simulating the ROW_NUMBER function&lt;/a&gt;, but it would be ugly at best.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Not that I can think of right away.  To do that you have to number the rows you&#8217;re inserting, and add an offset to make them begin at the largest number in the table.  You could do this by <a href="/blog/2005/09/27/simulating-the-sql-row_number-function/" rel="nofollow">simulating the ROW_NUMBER function</a>, but it would be ugly at best.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olle</title>
		<link>http://www.xaprb.com/blog/2006/04/20/sequences-and-surrogate-keys-in-generic-sql/#comment-2150</link>
		<dc:creator>Olle</dc:creator>
		<pubDate>Wed, 11 Oct 2006 10:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=136#comment-2150</guid>
		<description>&lt;p&gt;Is there a way to insert several rows at once and have the counter increment by one for each row? For instance &quot;insert into t1log&quot; with a select statement that returns several rows instead of one as in your example above?&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Is there a way to insert several rows at once and have the counter increment by one for each row? For instance &#8220;insert into t1log&#8221; with a select statement that returns several rows instead of one as in your example above?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/04/20/sequences-and-surrogate-keys-in-generic-sql/#comment-1665</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Tue, 29 Aug 2006 11:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=136#comment-1665</guid>
		<description>&lt;p&gt;I know no way to do that.  I suspect you have a serious flaw in your table design if you need this.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I know no way to do that.  I suspect you have a serious flaw in your table design if you need this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rabin nayak</title>
		<link>http://www.xaprb.com/blog/2006/04/20/sequences-and-surrogate-keys-in-generic-sql/#comment-1662</link>
		<dc:creator>rabin nayak</dc:creator>
		<pubDate>Tue, 29 Aug 2006 08:17:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=136#comment-1662</guid>
		<description>&lt;p&gt;How can I make two columns autoincrement simultaneously in a single table?&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>How can I make two columns autoincrement simultaneously in a single table?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

