<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Baurdotnet's Weblog</title>
	<atom:link href="http://baurdotnet.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://baurdotnet.wordpress.com</link>
	<description>Happy Coding!!!</description>
	<lastBuildDate>Thu, 29 Oct 2009 04:25:19 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='baurdotnet.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/603f5259f7dca9f267fc66085213cfc7?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Baurdotnet's Weblog</title>
		<link>http://baurdotnet.wordpress.com</link>
	</image>
			<item>
		<title>[PL\SQL] Increasing results</title>
		<link>http://baurdotnet.wordpress.com/2009/08/27/plsql-increasing-results/</link>
		<comments>http://baurdotnet.wordpress.com/2009/08/27/plsql-increasing-results/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 04:58:43 +0000</pubDate>
		<dc:creator>Baur</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://baurdotnet.wordpress.com/?p=295</guid>
		<description><![CDATA[data







MNTH
SM


1
10


2
20


3
30


4
40








WITH t AS (
SELECT 01 mnth,10 sm FROM dual UNION ALL
SELECT 02, 20 FROM dual UNION ALL
SELECT 03, 30 FROM dual UNION ALL
SELECT 04, 40 FROM dual
)
SELECT mnth, sm,
       SUM(sm) over(ORDER BY mnth ROWS UNBOUNDED PRECEDING) FROM t;

result







MNTH
SM
TOTAL


1
10
10


2
20
30


3
30
60


4
40
100







       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=baurdotnet.wordpress.com&blog=3045716&post=295&subd=baurdotnet&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://baurdotnet.wordpress.com/2009/08/27/plsql-increasing-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b8ca836aac2c19f4e7f83ff14f95bcf?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Baur</media:title>
		</media:content>
	</item>
		<item>
		<title>[PL\SQL] Pivot Query</title>
		<link>http://baurdotnet.wordpress.com/2009/08/26/select/</link>
		<comments>http://baurdotnet.wordpress.com/2009/08/26/select/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 11:28:50 +0000</pubDate>
		<dc:creator>Baur</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[pivot]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://baurdotnet.wordpress.com/?p=291</guid>
		<description><![CDATA[data







mnth
CITY
SUMMA


1
11
1


1
22
25


1
33
1


2
11
52


2
22
3


2
33
3


3
11
3


3
22
65


3
33
6








WITH t AS
(
SELECT 1 mnth, 11 city, 1 summa FROM dual UNION ALL
SELECT 1 mnth, 22 city, 25 summa FROM dual UNION ALL
SELECT 1 mnth, 33 city, 1 summa FROM dual UNION ALL
SELECT 2 mnth, 11 city, 52 summa FROM dual UNION ALL
SELECT 2 mnth, 22 city, 3 summa FROM dual UNION ALL
SELECT 2 mnth, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=baurdotnet.wordpress.com&blog=3045716&post=291&subd=baurdotnet&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://baurdotnet.wordpress.com/2009/08/26/select/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b8ca836aac2c19f4e7f83ff14f95bcf?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Baur</media:title>
		</media:content>
	</item>
		<item>
		<title>[PL\SQL] How to Join on top (First) row</title>
		<link>http://baurdotnet.wordpress.com/2009/08/26/join-with-first-row/</link>
		<comments>http://baurdotnet.wordpress.com/2009/08/26/join-with-first-row/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 05:21:52 +0000</pubDate>
		<dc:creator>Baur</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://baurdotnet.wordpress.com/?p=286</guid>
		<description><![CDATA[
SELECT *
  FROM (SELECT ROWNUM t FROM DUAL CONNECT BY LEVEL &#60; 6)
  JOIN (SELECT v, ROW_NUMBER() OVER(PARTITION BY v ORDER BY 1) rwnm
                     FROM (SELECT 1 v
      [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=baurdotnet.wordpress.com&blog=3045716&post=286&subd=baurdotnet&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://baurdotnet.wordpress.com/2009/08/26/join-with-first-row/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b8ca836aac2c19f4e7f83ff14f95bcf?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Baur</media:title>
		</media:content>
	</item>
		<item>
		<title>Search table</title>
		<link>http://baurdotnet.wordpress.com/2009/08/18/search-table/</link>
		<comments>http://baurdotnet.wordpress.com/2009/08/18/search-table/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 12:09:14 +0000</pubDate>
		<dc:creator>Baur</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://baurdotnet.wordpress.com/?p=278</guid>
		<description><![CDATA[
SELECT *
  FROM user_all_tables
 WHERE TABLE_NAME LIKE UPPER('%ISSCR%')
       AND TABLE_NAME NOT IN (SELECT TABLE_NAME
                                FROM user_all_tables
  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=baurdotnet.wordpress.com&blog=3045716&post=278&subd=baurdotnet&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://baurdotnet.wordpress.com/2009/08/18/search-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b8ca836aac2c19f4e7f83ff14f95bcf?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Baur</media:title>
		</media:content>
	</item>
		<item>
		<title>performance</title>
		<link>http://baurdotnet.wordpress.com/2009/08/18/performance/</link>
		<comments>http://baurdotnet.wordpress.com/2009/08/18/performance/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 05:44:57 +0000</pubDate>
		<dc:creator>Baur</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://baurdotnet.wordpress.com/?p=276</guid>
		<description><![CDATA[
DECLARE
 l_start NUMBER;
 l_end   NUMBER;
BEGIN
 ...
 l_start := dbms_utility.get_time;
 ...
 l_end   := round((dbms_utility.get_time - l_start) / 100, 2);
 dbms_output.put_line(l_end &#124;&#124; ' seconds...');
END;

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=baurdotnet.wordpress.com&blog=3045716&post=276&subd=baurdotnet&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://baurdotnet.wordpress.com/2009/08/18/performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b8ca836aac2c19f4e7f83ff14f95bcf?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Baur</media:title>
		</media:content>
	</item>
		<item>
		<title>(PL\SQL) How to get MAX(num)+DISTINCT str</title>
		<link>http://baurdotnet.wordpress.com/2009/08/18/plsql-how-to-get-maxnumdistinct-str/</link>
		<comments>http://baurdotnet.wordpress.com/2009/08/18/plsql-how-to-get-maxnumdistinct-str/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 05:37:54 +0000</pubDate>
		<dc:creator>Baur</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://baurdotnet.wordpress.com/?p=273</guid>
		<description><![CDATA[
CLEAR;
with t as
 (
 select '11' num, 'string1' str, '1' DATA from dual union all
 select '12' num, 'string1' str, '3' DATA from dual union all
 select '15' num, 'string1' str, '3' DATA from dual union all
 select '25' num, 'string2' str, '10' DATA from dual union all
 select '26' num, 'string2' str, '2' DATA [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=baurdotnet.wordpress.com&blog=3045716&post=273&subd=baurdotnet&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://baurdotnet.wordpress.com/2009/08/18/plsql-how-to-get-maxnumdistinct-str/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b8ca836aac2c19f4e7f83ff14f95bcf?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Baur</media:title>
		</media:content>
	</item>
		<item>
		<title>(PL\SQL) How to parse a full name into first, middle and last names?</title>
		<link>http://baurdotnet.wordpress.com/2009/07/30/plsql-how-to-parse-a-full-name-into-first-middle-and-last-names/</link>
		<comments>http://baurdotnet.wordpress.com/2009/07/30/plsql-how-to-parse-a-full-name-into-first-middle-and-last-names/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 10:33:59 +0000</pubDate>
		<dc:creator>Baur</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://baurdotnet.wordpress.com/?p=256</guid>
		<description><![CDATA[1st Method

CLEAR;
with t as (
select 'fabc iabc oabcd' fio from dual union all
select ' fabc        iabc oabcd' fio from dual union all
select 'fabc iabc     oabcd  ' fio from dual union ALL
select '   Baimendinov Salimjan     Danauly   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=baurdotnet.wordpress.com&blog=3045716&post=256&subd=baurdotnet&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://baurdotnet.wordpress.com/2009/07/30/plsql-how-to-parse-a-full-name-into-first-middle-and-last-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b8ca836aac2c19f4e7f83ff14f95bcf?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Baur</media:title>
		</media:content>
	</item>
		<item>
		<title>Till New Year</title>
		<link>http://baurdotnet.wordpress.com/2009/07/02/till-new-year/</link>
		<comments>http://baurdotnet.wordpress.com/2009/07/02/till-new-year/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 09:37:22 +0000</pubDate>
		<dc:creator>Baur</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://baurdotnet.wordpress.com/?p=251</guid>
		<description><![CDATA[
SELECT 'Till the New Year ' &#124;&#124;
to_char(extract(YEAR FROM SYSDATE) + 1) &#124;&#124; ' - ' &#124;&#124;
           trunc(months_between(to_date('01.01.' &#124;&#124;
to_char(extract(YEAR FROM SYSDATE) + 1), 'dd.mm.yyyy'), SYSDATE))
           &#124;&#124; ' months ' &#124;&#124;
to_char(LAST_DAY(SYSDATE) - SYSDATE) &#124;&#124; ' day ' [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=baurdotnet.wordpress.com&blog=3045716&post=251&subd=baurdotnet&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://baurdotnet.wordpress.com/2009/07/02/till-new-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b8ca836aac2c19f4e7f83ff14f95bcf?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Baur</media:title>
		</media:content>
	</item>
		<item>
		<title>[PL\SQL] Convert seconds to Day hour : min : sec</title>
		<link>http://baurdotnet.wordpress.com/2009/07/02/convert-seconds-to-day-hour-min-sec/</link>
		<comments>http://baurdotnet.wordpress.com/2009/07/02/convert-seconds-to-day-hour-min-sec/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 09:30:09 +0000</pubDate>
		<dc:creator>Baur</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://baurdotnet.wordpress.com/?p=249</guid>
		<description><![CDATA[
variable vSec number;
exec :vSec := 68400;
SELECT
to_char(trunc(:vSec / 60 / 60 / 24), '09') &#124;&#124; ' [day]' &#124;&#124;
to_char(trunc(MOD(:vSec / 60 / 60, 24)), '09') &#124;&#124;' [hh24]' &#124;&#124;
to_char(trunc(MOD(:vSec, 3600) / 60), '09') &#124;&#124; ' [mi]' &#124;&#124;
to_char(MOD(MOD(:vSec, 3600), 60), '09') &#124;&#124; ' [ss]'
FROM dual;

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=baurdotnet.wordpress.com&blog=3045716&post=249&subd=baurdotnet&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://baurdotnet.wordpress.com/2009/07/02/convert-seconds-to-day-hour-min-sec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b8ca836aac2c19f4e7f83ff14f95bcf?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Baur</media:title>
		</media:content>
	</item>
		<item>
		<title>Result in one Line</title>
		<link>http://baurdotnet.wordpress.com/2009/05/29/result-in-one-line/</link>
		<comments>http://baurdotnet.wordpress.com/2009/05/29/result-in-one-line/#comments</comments>
		<pubDate>Fri, 29 May 2009 06:29:05 +0000</pubDate>
		<dc:creator>Baur</dc:creator>
				<category><![CDATA[PL/SQL]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://baurdotnet.wordpress.com/?p=241</guid>
		<description><![CDATA[with t as (
select 'string1' str from dual union all
select 'string2' str from dual union all
select 'string3' str from dual union all
select 'string4' str from dual union all
select 'string5' str from dual union all
SELECT 'string6' str from dual
)
select '~'&#124;&#124;strs&#124;&#124;'~'  AS oneline from
( select ltrim(sys_connect_by_path(str, '~'), '~') as strs
from
( select str, lag(str) over (order by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=baurdotnet.wordpress.com&blog=3045716&post=241&subd=baurdotnet&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://baurdotnet.wordpress.com/2009/05/29/result-in-one-line/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4b8ca836aac2c19f4e7f83ff14f95bcf?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Baur</media:title>
		</media:content>
	</item>
	</channel>
</rss>