<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: The integers table</title>
	<link>http://www.xaprb.com/blog/2005/12/07/the-integers-table/</link>
	<description>Stay curious!</description>
	<pubDate>Fri, 16 May 2008 03:52:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Jeremy West</title>
		<link>http://www.xaprb.com/blog/2005/12/07/the-integers-table/#comment-14523</link>
		<author>Jeremy West</author>
		<pubDate>Wed, 07 May 2008 16:59:25 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2005/12/07/the-integers-table/#comment-14523</guid>
		<description>I came accross this blog trying to learn more about Tally Tables, anyway here something else I found that does what your showing above, but faster if your interested. (Ran in about 1/9th the time for 100,000 numbers)  Cool Blog, hope that book is comming well.


DECLARE @StartTime DATETIME		--Timer to measure total 
SET @StartTime = GETDATE()		--Start the timer

SELECT TOP 100000       
     IDENTITY(INT,1,1) AS N   
INTO dbo.Tally   
FROM Master.dbo.SysColumns sc1,        
     Master.dbo.SysColumns sc2

Select * From Tally

Drop table Tally
SELECT STR(DATEDIFF(ms,@StartTime,GETDATE()))   ' Milliseconds duration'</description>
		<content:encoded><![CDATA[<p>I came accross this blog trying to learn more about Tally Tables, anyway here something else I found that does what your showing above, but faster if your interested. (Ran in about 1/9th the time for 100,000 numbers)  Cool Blog, hope that book is comming well.</p>
<p>DECLARE @StartTime DATETIME		&#8211;Timer to measure total<br />
SET @StartTime = GETDATE()		&#8211;Start the timer</p>
<p>SELECT TOP 100000<br />
     IDENTITY(INT,1,1) AS N<br />
INTO dbo.Tally<br />
FROM Master.dbo.SysColumns sc1,<br />
     Master.dbo.SysColumns sc2</p>
<p>Select * From Tally</p>
<p>Drop table Tally<br />
SELECT STR(DATEDIFF(ms,@StartTime,GETDATE()))   &#8216; Milliseconds duration&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2005/12/07/the-integers-table/#comment-1346</link>
		<author>Xaprb</author>
		<pubDate>Sat, 05 Aug 2006 21:45:58 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2005/12/07/the-integers-table/#comment-1346</guid>
		<description>&lt;p&gt;Ah yes, I see &lt;a href="http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci978319,00.html"&gt;you have written articles about this topic&lt;/a&gt; too!  I forget now who I originally got the idea from, but it's out there in a number of places (no pun intended).  Thanks for the compliment!&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Ah yes, I see <a href="http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci978319,00.html">you have written articles about this topic</a> too!  I forget now who I originally got the idea from, but it&#8217;s out there in a number of places (no pun intended).  Thanks for the compliment!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rudy</title>
		<link>http://www.xaprb.com/blog/2005/12/07/the-integers-table/#comment-85</link>
		<author>rudy</author>
		<pubDate>Sat, 04 Feb 2006 19:03:29 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2005/12/07/the-integers-table/#comment-85</guid>
		<description>&lt;p&gt;Thank you for providing the link to "someone else's idea."  ;o)&lt;/p&gt;

&lt;p&gt;[Takes quick look around]  hey, fabulous site, and some great contents.&lt;/p&gt;

&lt;p&gt;[Bookmarks]&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Thank you for providing the link to &#8220;someone else&#8217;s idea.&#8221;  ;o)</p>
<p>[Takes quick look around]  hey, fabulous site, and some great contents.</p>
<p>[Bookmarks]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
