<?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/"
	>

<channel>
	<title>Vladimir Cvetic &#187; Oracle</title>
	<atom:link href="http://www.hazaah.com/cat/databases/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hazaah.com</link>
	<description>buffle the world</description>
	<lastBuildDate>Thu, 12 Nov 2009 14:30:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Simple Oracle pagination</title>
		<link>http://www.hazaah.com/databases/simple-oracle-pagination/</link>
		<comments>http://www.hazaah.com/databases/simple-oracle-pagination/#comments</comments>
		<pubDate>Wed, 22 Nov 2006 11:36:27 +0000</pubDate>
		<dc:creator>Vladimir Cvetic</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.knowbies.com/vladimir-cvetic/something-else/simple-oracle-pagination/</guid>
		<description><![CDATA[Alot of folks have problems when they first transfer to Oracle from MySQL.
Most of those problems are cosed by absence of LIMIT.
Just to give you all a hint in the right direction here is the simplest &#8220;pagination&#8221; query used on Oracle.
(select * from emp
where rownum ]]></description>
			<content:encoded><![CDATA[<p>Alot of folks have problems when they first transfer to Oracle from MySQL.<br />
Most of those problems are cosed by absence of LIMIT.</p>
<p>Just to give you all a hint in the right direction here is the simplest &#8220;pagination&#8221; query used on Oracle.</p>
<pre lang="sql">(select * from emp
where rownum <=var)
minus
(select * from emp
where rownum<=(var-100))</pre>
<p>ex.<br />
var = 100 Will give first 100 results and var = 200 will give next 100 results.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hazaah.com/databases/simple-oracle-pagination/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Strict Date validation for Oracle</title>
		<link>http://www.hazaah.com/databases/strict-date-validation-for-oracle-isdate-replacement/</link>
		<comments>http://www.hazaah.com/databases/strict-date-validation-for-oracle-isdate-replacement/#comments</comments>
		<pubDate>Tue, 21 Nov 2006 09:09:57 +0000</pubDate>
		<dc:creator>Vladimir Cvetic</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.knowbies.com/admin/databases/strict-date-validation-for-oracle-decent-isdate-replacement/</guid>
		<description><![CDATA[We had few problems with a huge database table (1600k rows of data). Basically problem was with invalid dates.
Our database is receiving data over serial port so there was Alot of garbage. Sice it&#8217;s such a huge table and there was so much invalid date formats I was forced to create decent Oracle replacement for [...]]]></description>
			<content:encoded><![CDATA[<p>We had few problems with a huge database table (1600k rows of data). Basically problem was with invalid dates.</p>
<p>Our database is receiving data over serial port so there was Alot of garbage. Sice it&#8217;s such a huge table and there was so much invalid date formats I was forced to create decent Oracle replacement for VB function IsDate:</p>
<pre lang="sql">CREATE FUNCTION ISDATE( ip_date in varchar2 )
return date
is
begin
return to_date(ip_date,'dd-mm-yyyy');
exception
when others
then return null;
end isdate;</pre>
<p>Only flaw I found was that you need to predefine date type you need&#8230; but we already knew that so it was not a problem.</p>
<p>Hope this helps someone!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hazaah.com/databases/strict-date-validation-for-oracle-isdate-replacement/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sybase na Oracle</title>
		<link>http://www.hazaah.com/databases/sybase-na-oracle/</link>
		<comments>http://www.hazaah.com/databases/sybase-na-oracle/#comments</comments>
		<pubDate>Thu, 26 Oct 2006 10:05:56 +0000</pubDate>
		<dc:creator>Vladimir Cvetic</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Something Else]]></category>

		<guid isPermaLink="false">http://www.knowbies.com/vladimir-cvetic/opusteno/sybase-na-oracle/</guid>
		<description><![CDATA[Upravo sam okonÄao dvodnevne muke jedne male migracije sa Sybase na Oracle. PoÅ¡to sam se oslobodio svih frustracija samo Ä‡u uratko podeliti sa vama par stvari oko kojih sam se nervirao.

Interne funkcije
Primera radi sybase ima funkciju datepart() koja radi sliÄno kao to_char() kod oracla, sada je to lepo i jednostavno kada znam, ali kada se [...]]]></description>
			<content:encoded><![CDATA[<p>Upravo sam okonÄao dvodnevne muke jedne male migracije sa Sybase na Oracle. PoÅ¡to sam se oslobodio svih frustracija samo Ä‡u uratko podeliti sa vama par stvari oko kojih sam se nervirao.</p>
<ul>
<li><strong>Interne funkcije</strong><br />
Primera radi sybase ima funkciju <a href="http://manuals.sybase.com/onlinebooks/group-as/asg1250e/sqlug/@Generic__BookTextView/34010;pt=34781">datepart()</a> koja radi sliÄno kao <a href="http://www.techonthenet.com/oracle/functions/to_char.php">to_char()</a> kod oracla, sada je to lepo i jednostavno kada znam, ali kada se covek prvi put sretne sa datepart() a google neda brzo odgovor&#8230;</li>
<li><strong>Rezervisane reÄi<br />
</strong>Ovo me je posebno nerviralo, samo kad se setim da u sybase &#8216;number&#8217; ili &#8216;type&#8217; nisu rezervisane reÄi!</li>
</ul>
<p>Toliko, Äisto da bude moguÄ‡e dobiti uvid u koliÄinu mojih frustracija u zadnjih par dana.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hazaah.com/databases/sybase-na-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
