<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Log Buffer #77:  a Carnival of the Vanities for DBAs</title>
	<link>http://www.pythian.com/blogs/761/log-buffer-77-a-carnival-of-the-vanities-for-dbas</link>
	<description>News and views from Pythian DBAs</description>
	<pubDate>Fri, 22 Aug 2008 01:14:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: Sheeri Cabral</title>
		<link>http://www.pythian.com/blogs/761/log-buffer-77-a-carnival-of-the-vanities-for-dbas#comment-146537</link>
		<dc:creator>Sheeri Cabral</dc:creator>
		<pubDate>Fri, 04 Jan 2008 15:16:25 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/761/log-buffer-77-a-carnival-of-the-vanities-for-dbas#comment-146537</guid>
		<description>As promised, the answer:

The number of Friday the 13ths is exactly the same as the number of months where Sunday is the 1st of the month.  Therefore, there are no changes needed to the script at all!</description>
		<content:encoded><![CDATA[<p>As promised, the answer:</p>
<p>The number of Friday the 13ths is exactly the same as the number of months where Sunday is the 1st of the month.  Therefore, there are no changes needed to the script at all!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raj Jamadagni</title>
		<link>http://www.pythian.com/blogs/761/log-buffer-77-a-carnival-of-the-vanities-for-dbas#comment-144683</link>
		<dc:creator>Raj Jamadagni</dc:creator>
		<pubDate>Fri, 28 Dec 2007 17:51:19 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/761/log-buffer-77-a-carnival-of-the-vanities-for-dbas#comment-144683</guid>
		<description>hmmm, don't know postgressql, but here is my attempt in oracle, runs pretty fast me thinks. If i supress termout it ran in about 380370 microseconds on my 10203 db.

select systimestamp from dual
/
set termout off
with x as (select TO_DATE('19010101','YYYYMMDD') s from dual)
select x.s + y.l, to_char(x.s + y.l, 'Day mm/dd/yyyy')
  from x, (select level-1 l from dual connect by level &#60; (trunc(sysdate) - TO_DATE('19010101','YYYYMMDD'))+2) y
 where to_char(x.s + y.l,'DYDD') = 'FRI13'
/
set termout on
select systimestamp from dual
/

HTH and have a great year.
Raj</description>
		<content:encoded><![CDATA[<p>hmmm, don&#8217;t know postgressql, but here is my attempt in oracle, runs pretty fast me thinks. If i supress termout it ran in about 380370 microseconds on my 10203 db.</p>
<p>select systimestamp from dual<br />
/<br />
set termout off<br />
with x as (select TO_DATE(&#8217;19010101&#8242;,&#8217;YYYYMMDD&#8217;) s from dual)<br />
select x.s + y.l, to_char(x.s + y.l, &#8216;Day mm/dd/yyyy&#8217;)<br />
  from x, (select level-1 l from dual connect by level &lt; (trunc(sysdate) - TO_DATE(&#8217;19010101&#8242;,&#8217;YYYYMMDD&#8217;))+2) y<br />
 where to_char(x.s + y.l,&#8217;DYDD&#8217;) = &#8216;FRI13&#8242;<br />
/<br />
set termout on<br />
select systimestamp from dual<br />
/</p>
<p>HTH and have a great year.<br />
Raj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis The SQL Menace</title>
		<link>http://www.pythian.com/blogs/761/log-buffer-77-a-carnival-of-the-vanities-for-dbas#comment-144680</link>
		<dc:creator>Denis The SQL Menace</dc:creator>
		<pubDate>Fri, 28 Dec 2007 17:44:44 +0000</pubDate>
		<guid>http://www.pythian.com/blogs/761/log-buffer-77-a-carnival-of-the-vanities-for-dbas#comment-144680</guid>
		<description>I am not one to bash but the Postgres OnLine Journal has to be one of the ugliest sites I have ever seen. My eyes literally hurt after clicking on the HTML version (http://www.postgresonline.com/periodical.php?i_id=1)</description>
		<content:encoded><![CDATA[<p>I am not one to bash but the Postgres OnLine Journal has to be one of the ugliest sites I have ever seen. My eyes literally hurt after clicking on the HTML version (http://www.postgresonline.com/periodical.php?i_id=1)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
