<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5.1-alpha" -->
<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/"
>

<channel>
	<title>doT.sYs</title>
	<link>http://keeve.blogsome.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Mon, 16 Nov 2009 18:53:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.1-alpha</generator>
	<language>en</language>

		<item>
		<title>DOJO Key Links</title>
		<link>http://keeve.blogsome.com/2009/11/16/dojo-helpful-links/</link>
		<comments>http://keeve.blogsome.com/2009/11/16/dojo-helpful-links/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 18:52:13 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Scripting Language</category>
	<category>AJAX</category>
		<guid>http://keeve.blogsome.com/2009/11/16/dojo-helpful-links/</guid>
		<description><![CDATA[	A lot of sites,  blogs and forums have emerged nowadays, you might find yourself cluttered with information that doesn&#8217;t really solved your DOJO  needs.  It is always a good practice to keep one solid reference that you can come back every time you stumble into your codes.
	Here are useful links that might [...]]]></description>
			<content:encoded><![CDATA[	<p>A lot of sites,  blogs and forums have emerged nowadays, you might find yourself cluttered with information that doesn&#8217;t really solved your DOJO  needs.  It is always a good practice to keep one solid reference that you can come back every time you stumble into your codes.</p>
	<p>Here are useful links that might help you begin and work around with DOJO.</p>
	<ul>
	<li><a href="http://dojotoolkit.org/book/dojo-book-0-9/hello-world-tutorial" target="_blank">http://dojotoolkit.org/book/dojo-book-0-9/hello-world-tutorial</a></li>
	<li><a href="http://www.sitepen.com/blog/series/dojo-quick-start-guide/#Ajax" target="_blank">http://www.sitepen.com/blog/series/dojo-quick-start-guide/#Ajax</a></li>
	<li><a href="http://docs.dojocampus.org/key-links" target="_blank">http://docs.dojocampus.org/key-linksl</a></li>
	<li><a href="http://www.dojotoolkit.org/2008/12/11/top-10-things-you-should-know-about-dojo" target="_blank">http://www.dojotoolkit.org/2008/12/11/top-10-things-you-should-know-about-dojo</a></li>
	</ul>
	<p>DOJO API</p>
	<ul>
<li><a href="http://api.dojotoolkit.org" target="_blank">http://api.dojotoolkit.org</a></li>
</ul>
	<p>DOJO FORUM</p>
	<ul>
<li><a href="http://www.dojotoolkit.org/forum" target="_blank">http://www.dojotoolkit.org/forum</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://keeve.blogsome.com/2009/11/16/dojo-helpful-links/feed/</wfw:commentRss>
	</item>
		<item>
		<title>7 Ways to gain healthy workforce</title>
		<link>http://keeve.blogsome.com/2009/10/05/7-ways-to-gain-healthy-workforce/</link>
		<comments>http://keeve.blogsome.com/2009/10/05/7-ways-to-gain-healthy-workforce/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 21:48:33 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>All Around Work</category>
		<guid>http://keeve.blogsome.com/2009/10/05/7-ways-to-gain-healthy-workforce/</guid>
		<description><![CDATA[	I am reposting an article ( 7 Habits To Win In Office Politics )  that was originally from lifehack.org  authored by Lawrence Cheok, but with my own interpretations. 
	I found this post helpful and factual and thought that it might also get you to work around on hard times in your own office [...]]]></description>
			<content:encoded><![CDATA[	<p>I am reposting an article ( <a href="http://www.lifehack.org/articles/management/7-habits-to-win-in-office-politics.html">7 Habits To Win In Office Politics </a>)  that was originally from <a link="http://www.lifehack.org">lifehack.org</a>  authored by Lawrence Cheok, but with my own interpretations. </p>
	<p>I found this post helpful and factual and thought that it might also get you to work around on hard times in your own office or workforce. Everything that is posted in here is purely objective, thus you may agree or not agree on points that i might find essential. However, there is always a room for discussions and exchange of views, you may post comments or share more ways that you think should be included in this list.</p>
	<p>Way # 1. <strong> Be aware you have a <font color="#ff0000">CHOICE</font></strong></p>
	<p>                 In all circumstances, disputes and disagreements arise without caution that can break or make your career. You just have two options when this comes your way, be sober and drool over the situation or get over it and move forward. It is up to you to choose the right feelings for the situation,  staying long in aggression is not a good idea neither being numb about it. Be wise enough to control your feelings since this is the hardest to control, it might get out of way. </p>
	<p>Way # 2. <strong>Know what you are trying to <font color="#ff0000"> ACHIEVE</font></strong></p>
	<p>When you know what is you goal, even conflicts may arise as long as everyone has its fixed mind to reached a same goal, you will find that at the end of the day everybody has a POINT and had CONTRIBUTED on their own way to accomplished what all of you wanted to achieve .</p>
	<p>Way # 3. <strong>Focus on your <font color="#ff0000">CIRCLE OF INFLUENCE</font></strong></p>
	<p>You might often complain on such given constraints, yet you must cling on more possitive sides when working. Keep thinking of good things why you are still working and never be a victim of helplessness. </p>
	<p><em><font color="#0000ff">&#8220;What tangible results do bitching really accomplish? In most instances, none.&#8221;</font> Lawrence Cheok</em></p>
	<p>Way # 4. <strong>Don&#8217;t take <font color="#ff0000">SIDES</font></strong></p>
	<p>Know your principles and trust your own assessments, in case you need to decide on things that has colliding point of views from your different bosses, tap your shoulder and be confident to stand on all of them try to convey your own ideas without taking sides yet still maintaining a good channel of communication.</p>
	<p>Way # 5. <strong>Don&#8217;t get <font color="#ff0000">PERSONAL</font></strong></p>
	<p>Never go personal. Reserve yourself and save further damage in your relationship. Insults on personal things can cause grave offense and a real blacklist in his list of good employees and possible promotions. </p>
	<p>Way # 6. <strong>Seek to <font color="#ff0000">UNDERSTAND</font>, before being UNDERSTOOD</strong></p>
	<p><em><font color="#0000ff">&#8220;The reason people feel unjustified is because they felt misunderstood.&#8221;</font> Lawrence Cheok</em><br />
Don&#8217;t be so consumed with your own personal gratification that everyone must understand you, why not try to get out of that shell and start understanding them instead. It is always a two way channel, if they feel that you understood them, everntually they will try to understand you too.</p>
	<p>Way # 7. <strong>Think <font color="#ff0000">WIN-WIN</font></strong></p>
	<p>Get rid of the idea that when someone wins somebody else loses. When you try hard to think of ways that everyone can win, you&#8217;ll find things are a lot easer.  All six ways boils down to this application it will be a WIN-WIN situation if you learn to practice all those above mentioned.</p>
]]></content:encoded>
			<wfw:commentRss>http://keeve.blogsome.com/2009/10/05/7-ways-to-gain-healthy-workforce/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Web Publisher *grrr</title>
		<link>http://keeve.blogsome.com/2009/09/14/web-publisher-grrr/</link>
		<comments>http://keeve.blogsome.com/2009/09/14/web-publisher-grrr/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 17:23:51 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Programming Language</category>
	<category>Java</category>
	<category>XML</category>
		<guid>http://keeve.blogsome.com/2009/09/14/web-publisher-grrr/</guid>
		<description><![CDATA[	I’ve done minimal programming stuffs for two months now. It is a sign that things are not going too well, I miss squeezing juice of logic from my brain from time to time (*sad). I miss using programming IDEs and having headaches due to overtime work. Weird huh? Yes, I guess I am. 
	Maybe you’re [...]]]></description>
			<content:encoded><![CDATA[	<p>I’ve done minimal programming stuffs for two months now. It is a sign that things are not going too well, I miss squeezing juice of logic from my brain from time to time (*sad). I miss using programming IDEs and having headaches due to overtime work. Weird huh? Yes, I guess I am. </p>
	<p>Maybe you’re wondering what I have been up to, here is a gist of what my work is like for the past two months.</p>
	<p>I’ve been maintaining the company corporate web site, cool isn’t? big time! Sounds fun and interesting and seems to have tons of programming stuffs to be done right? But you’re wrong. In the beginning of the project we all thought that we’ll be doing a lot of programming jobs and expecting to encounter complicated codes especially dojo scripts <em>(my knowledge in dojo is the reason why I was chosen to be part of the project). </em>But to my dismay, the company uses a web publisher that allows any key employee to update the content anytime as they desire but not the layout and other technical details of the site, because that task belongs to us, the maintenance team. </p>
	<p>We change layouts, files, flash even pictures and sometimes fix *text bugs.  Read it right, yes we often edit text contents, which I previously mentioned can be done by any marketing stuff. It has never been my pleasure to design, it’s not my inclination I guess, yet I’ve been doing design edits for pete sake! I’ve been changing menu and page layouts, resizing pictures, doing a new flash file, and the like and all to be uploaded in that web publisher. Where the hell is <strong>PROGRAMMING </strong>in that?</p>
	<p>My usual know-how about websites are done coding all throughout the site, yet by using this *certain web publisher, less codes are needed, you only deal with xml files<em> (you don’t need much logic in it).</em> To non-IT, the tool is a great help, even fantastic, the tool was created in <strong>Java</strong>, reliability and functionality is not a question. But to programmers like me it is a pain in the ass. I’ve noticed numerous things that can be easily done when you code it. Plus the publisher took a lot of time for development, aside from its slowness, you need to <strong>checkout </strong>the files if is already existing and <strong>checkin </strong>an edited one or the latest file or simply <strong>import </strong>a new file, but that does not end there, you still need to promote it from three stages (WIP, Staging, Active) and finally <strong>publish </strong>it. See what I mean? Four key steps that you need to do. *haist it just simply bores me.</p>
	<p>Ahhh d***! I need to stop complaining *sigh. I guess I just miss my programming days.</p>
	<p>*Cheers to all programmers!</p>
]]></content:encoded>
			<wfw:commentRss>http://keeve.blogsome.com/2009/09/14/web-publisher-grrr/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Apache Solr and Nutch</title>
		<link>http://keeve.blogsome.com/2009/07/29/apache-solr-and-nutch/</link>
		<comments>http://keeve.blogsome.com/2009/07/29/apache-solr-and-nutch/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 03:12:28 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Programming Language</category>
	<category>Server Articraft</category>
		<guid>http://keeve.blogsome.com/2009/07/29/apache-solr-and-nutch/</guid>
		<description><![CDATA[Search Engine for your web site.]]></description>
			<content:encoded><![CDATA[	<p>I have not post for quite a long time since my last post. I’ve been busy doing the new project I am now into.  As a sweet fruit of labor, I would like to share some knowledge I have gained in this new venture.</p>
	<p>I was assigned to the global IT projects together with two more colleagues. A lot of new technologies that we need to cope up with, especially dealing with the critical and gem departments of the company - marketing and sales, every detail is scrutinized and case studied thoroughly. Quality and reliability of the system is the top most importance of the development. A portion of everything done is the server configuration and optimization; this is to aid the system for the search management and site hits. The standard tools used by the company are Solr and Nutch working together pretty well, thus we end up studying these technologies.</p>
	<p>A brief description:</p>
	<p><strong>Apache Solr </strong>- is an open source enterprise search server based on the Lucene Java search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search, caching, replication, and a web administration interface. It runs in a Java servlet container such as Apache Tomcat. <em>[Wikipedia.org]</em></p>
	<p><strong>NUTCH </strong>- is open source web-search software. It was built on Lucene Java, adding web-specifics, such as a crawler, a link-graph database, and parsers for HTML and other document formats.<em>  [Lucene.apache.org]</em></p>
	<p>It is coded completely in the Java programming language, but data is written in language-independent formats.<br />
Nutch has a highly modular architecture allowing developers to create plugins for the following activities: media-type parsing, data retrieval, querying and clustering.<br />
The fetcher (&#8221;robot&#8221; or &#8220;web crawler&#8221;) has been written from scratch solely for this project.  <em>[Wikipedia.org]</em></p>
	<p>In general, Solr and Nutch harmoniously work together as it is both in-house software of Lucene project. Solr generally is responsible for the search and return capability of the system. If the user first searched an item,  Solr technology is the one responsible for caching the search and the returned results. It has great API for JSON, XML as the format of the returned results. Other than caching, Solr have also these following features :<br />
<span style="color:#ff0000;"><br />
•	Uses the Lucene library for full-text search<br />
•	Faceted navigation<br />
•	JSON, XML, PHP, Ruby, Python and custom Java binary output formats over HTTP<br />
•	HTML administration interface<br />
•	Replication to other Solr servers<br />
•	Extensible through plugins<br />
•	Distributed Search<br />
•	Caching<br />
</span><br />
On the other hand, Nutch acts as the crawler, a mimic of the “goolge crawler” and other search engine crawler (im totaly a big fun of google. *grin). After hitting the search button, nutch would look for the search item into the entire web application and indexed its location and return its details to Solr if it is found.</p>
	<p>To incorporate these in your web application, download the latest release of <a href=”http://lucene.apache.org/solr/” >Solr</a> and <a href=”http://lucene.apache.org/nutch/”>Nutch</a>, and install it to your server and follow the configuration guidelines for each. Viola! Your system would have its own search engine with no sweat! *wink</p>
]]></content:encoded>
			<wfw:commentRss>http://keeve.blogsome.com/2009/07/29/apache-solr-and-nutch/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Prototype, Dojo, Script.aculo.us  (JavaScript Framework)</title>
		<link>http://keeve.blogsome.com/2009/05/07/prototype-dojo-scriptaculous-javascript-framework/</link>
		<comments>http://keeve.blogsome.com/2009/05/07/prototype-dojo-scriptaculous-javascript-framework/#comments</comments>
		<pubDate>Thu, 07 May 2009 05:46:15 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Scripting Language</category>
	<category>JavaScript</category>
	<category>AJAX</category>
		<guid>http://keeve.blogsome.com/2009/05/07/prototype-dojo-scriptaculous-javascript-framework/</guid>
		<description><![CDATA[	These three famous Javascript frameworks are certainly in the top list of every web developer. They are a proven help in developing dynamic and  creative web portals. Without their birth, how in the earth “google” could produce a fanstatic portal such as “igoogle” ( hhmmmm have you thought of it? ). 
	Now, if you [...]]]></description>
			<content:encoded><![CDATA[	<p>These three famous Javascript frameworks are certainly in the top list of every web developer. They are a proven help in developing dynamic and  creative web portals. Without their birth, how in the earth “google” could produce a fanstatic portal such as “igoogle” ( hhmmmm have you thought of it? ). </p>
	<p>Now, if you are just starting to explore the usage and advantages of either of these frameworks, let me give you a little hint of the best tool to use in your application (*wink).</p>
	<p>Advantages …</p>
	<p> 1. AJAX Function</p>
	<p>All of these frameworks enable you to deal with AJAX with ease and they are also cross-browser compliant. Besides simple requests, they also provide various ways to handle the response from the server, either through XML, JSON or plain text. My advise here, if you only need a way to use AJAX functions and customized UIs is not a concern, use the primitive framework – prototype. Prototype is the best tool to use as it is just a one file function compared to the other two customized, bulky in size frameworks, and if you are the type of developer who codes their way to customize, prototype is the most flexible.</p>
	<p>Sample Code </p>
	<pre class="code">
new Ajax.Request('your_url’,
  {
    method:'get',
    onSuccess: function(transport){
      var response = transport.responseText || \"no response text\";
      alert(\"Success! \n\n\" + response);
    },
    onFailure: function(){ alert('Something went wrong...') }
  });
</pre>
	<p>Expandable Code</p>
	<pre class="code">
new Ajax.Request('your_url’,
  {
    method:'get',
    onSuccess: transport,
    onFailure: doError
  });
</pre>
	<p>Functions “transport” and “doError” must be declared somewhere in your code. This way, codes are more flexible and expandable. Do something like this </p>
	<pre class="code">
function transport (x) {
          loadXML( x.responseText );
         …
}
</pre>
	<p>2. Widgets</p>
	<p>Script.aculo.us and Dojo are add-on libraries to the Prototype framework primarily for visual effects and interface behaviors. Several widgets, DOM utilities, and animations can be found here. These are actually the highlights of the outset of prototype where group of individuals created and customized the prototype framework to produce dynamic and ready to use widgets. </p>
	<p>You can find various component animations in Script.aculo.us such as different effect combination, draggable objects, movie effect and etc. Click <b><a href=” http://script.aculo.us”>here</a></b> for more reference and see their DEMOs.</p>
	<p>To date, DOJO seems to be most useful for corporate websites. It can cater large dataset to be turned into a displayable grid without performance penalty. It also has the most wanted charting utility for your reports. It is fully internationalized, DOJO comes with translations supporting over 100 languages, even scripts like Arabic and Hebrew.</p>
	<p>The latest tools I have used in DOJO are the TAB enabled div, drag and drop, and the package loading. All these helped me developed the site I wanted. Here are some sample screenshots and codes.</p>
	<p><a href="http://www.flickr.com/photos/76634961@N00/3508938265/" title="dojotab by eve^kee, on Flickr"><img src="http://farm4.static.flickr.com/3655/3508938265_18a19fc2cb_o.jpg" width="700" height="237" alt="dojotab" /></a> </p>
	<p>The code </p>
	<pre class="code">
&lt;div  dojoType=\"dijit.layout.TabContainer\" refreshOnShow=\"true\" style=\"height:450px;\"&gt;
&lt;div dojoType=\"dijit.layout.ContentPane\" title=\"Equipment Registration\"&gt;…&lt;/div&gt;
&lt;div dojoType=\"dijit.layout.ContentPane\" title=\"Equipment Update\"&gt; … &lt;/div&gt;
&lt;div dojoType=\"dijit.layout.ContentPane\" title=\"Configure\"&gt; … &lt;/div&gt;
&lt;/div&gt;
 </pre>
	<p><a href="http://www.flickr.com/photos/76634961@N00/3508938285/" title="draggable by eve^kee, on Flickr"><img src="http://farm4.static.flickr.com/3596/3508938285_b2a3164bd7_o.jpg" width="350" height="200" alt="draggable" /></a></p>
	<p>Refer to the official <b><a href=” http://dojotoolkit.org/”>DOJO</a></b> site for more codes and demos.</p>
	<p>I hope this post helped you somehow.	</p>
]]></content:encoded>
			<wfw:commentRss>http://keeve.blogsome.com/2009/05/07/prototype-dojo-scriptaculous-javascript-framework/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Oracle - Tips (add&#8217;l)</title>
		<link>http://keeve.blogsome.com/2009/02/24/oracle-tips-addl/</link>
		<comments>http://keeve.blogsome.com/2009/02/24/oracle-tips-addl/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 07:33:11 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Oracle</category>
	<category>Database</category>
		<guid>http://keeve.blogsome.com/2009/02/24/oracle-tips-addl/</guid>
		<description><![CDATA[	You can select list of tables from all the different schemas in your oracle database, here&#8217;s how 
	
SELECT all_tables FROM all_tab_columns;

	or get all the table details 
	
SELECT * FROM all_tab_columns;

]]></description>
			<content:encoded><![CDATA[	<p>You can select list of tables from all the different schemas in your oracle database, here&#8217;s how </p>
	<pre class='code'>
SELECT all_tables FROM all_tab_columns;
</pre>
	<p>or get all the table details </p>
	<pre class='code'>
SELECT * FROM all_tab_columns;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://keeve.blogsome.com/2009/02/24/oracle-tips-addl/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Oracle Tips</title>
		<link>http://keeve.blogsome.com/2009/01/21/oracle-tips/</link>
		<comments>http://keeve.blogsome.com/2009/01/21/oracle-tips/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 03:07:11 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Oracle</category>
	<category>Database</category>
		<guid>http://keeve.blogsome.com/2009/01/21/oracle-tips/</guid>
		<description><![CDATA[	Here are some helpful tips to remember when dealing with oracle.
	 I. Use the &#8220;flashback technology&#8221; when you accidentally commit a mistake with your production data.
(altering entire table contents, corrupted table data, or worst dropping unintended table).  
	-  First thing to do is to enable flashback on your database.
	
ALTER DATABASE FLASHBACK ON;

	  [...]]]></description>
			<content:encoded><![CDATA[	<p>Here are some helpful tips to remember when dealing with oracle.</p>
	<p> I. Use the &#8220;flashback technology&#8221; when you accidentally commit a mistake with your production data.<br />
(altering entire table contents, corrupted table data, or worst dropping unintended table).  </p>
	<p>-  First thing to do is to enable flashback on your database.</p>
	<pre class='code'>
ALTER DATABASE FLASHBACK ON;
</pre>
	<p>            - Restoring database to its good state.</p>
	<pre class='code'>
FLASHBACK DATABASE TO RESTORE POINT bef_damage;
</pre>
	<p>            - Restoring dropped table.</p>
	<pre class='code'>
FLASHBACK TABLE [TABLE_NAME] TO BEFORE DROP;
</pre>
	<p>            - Restoring table to its good state.</p>
	<pre class='code'>
FLASHBACK TABLE [TABLE_NAME] TO TIMESTAMP TO_TIMESTAMP('[DATE_TIME]');
</pre>
	<p>         II. Manipulate date and time display<br />
               Aside from to_date and to_timestamp functions , you could also alter the date and time display in your database through the use of this code below.</p>
	<pre class='code'>
ALTER SESSION SET NLS_DATE_FORMAT = '[DATE_FORMAT]'
</pre>
]]></content:encoded>
			<wfw:commentRss>http://keeve.blogsome.com/2009/01/21/oracle-tips/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Oracle Split , Join , and DateDiff Functions</title>
		<link>http://keeve.blogsome.com/2009/01/14/oracle-split-join-and-datediff-functions/</link>
		<comments>http://keeve.blogsome.com/2009/01/14/oracle-split-join-and-datediff-functions/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 05:44:43 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Oracle</category>
	<category>Database</category>
		<guid>http://keeve.blogsome.com/2009/01/14/oracle-split-join-and-datediff-functions/</guid>
		<description><![CDATA[	 Split, Join and DateDiff are just few Oracle functions that can aid you in data manipulation.
	       Function Definition 
	 Split - split a result by &#8220;character specified (by default, comma)&#8221;
           into multiple results.
	      [...]]]></description>
			<content:encoded><![CDATA[	<p> Split, Join and DateDiff are just few Oracle functions that can aid you in data manipulation.</p>
	<p>       <strong>Function Definition </strong></p>
	<p> <b><i>Split</i></b> - split a result by &#8220;character specified (by default, comma)&#8221;<br />
           into multiple results.</p>
	<p>                   e.g.   &#8220;A,B,C&#8221; &#8211;> results 3 records of &#8220;A&#8221;,&#8221;B&#8221;, and &#8220;C&#8221;.</p>
	<p><b><i>Join</i></b> - join multiple records into one result by<br />
           &#8220;character specified (by default, comma)&#8221;.</p>
	<p>                   e.g.    &#8220;1&#8243;,&#8221;2&#8243;,&#8221;3&#8243; &#8211;> results 1 record of &#8220;1,2,3&#8243;.</p>
	<p><b><i>DateDiff</i></b> - Differentiate two dates.</p>
	<p> <strong>Function Code</strong></p>
	<pre class="code">
create or replace function split(
          p_list varchar2,
          p_del varchar2 := ','
) return split_tbl pipelined
           is
          l_idx    pls_integer;
          l_list   varchar2(32767) := p_list;
          l_value  varchar2(32767);
    begin
          loop
          l_idx := instr(l_list,p_del);
          if l_idx > 0 then
             pipe row(substr(l_list,1,l_idx-1));
             l_list := substr(l_list,l_idx+length(p_del));
          else
             pipe row(l_list);
             exit;
          end if;
        end loop;
     return;
 end split;
</pre>
	<pre class="code">
create or replace function join
 (
       p_cursor sys_refcursor,
       p_del varchar2 := ','
)  return varchar2
      is
          l_value   varchar2(32767);
          l_result  varchar2(32767);
     begin
        loop
             fetch p_cursor into l_value;
               exit when p_cursor%notfound;
           if l_result is not null then
                l_result := l_result || p_del;
           end if;
               l_result := l_result || l_value;
        end loop;
      return l_result;
end join;
</pre>
	<pre class="code">
create or replace function datediff( p_what in varchar2,
      p_d1   in date,
      p_d2   in date ) return number
   as
       l_result    number;
   begin
        select (p_d2-p_d1) * decode( upper(p_what),  'SS', 24*60*60, 'MI', 24*60, 'HH', 24, NULL )  into l_result from dual;
	
return l_result;
end;
</pre>
	<pre>
<font color = \"red\">* Note </font>: To use the split and join function, you must execute this code.</pre>
	<pre class="code">
create or replace type split_tbl as table of varchar2(32767)</pre>
	</p>
]]></content:encoded>
			<wfw:commentRss>http://keeve.blogsome.com/2009/01/14/oracle-split-join-and-datediff-functions/feed/</wfw:commentRss>
	</item>
		<item>
		<title>Re-blogging</title>
		<link>http://keeve.blogsome.com/2009/01/09/re-blogging/</link>
		<comments>http://keeve.blogsome.com/2009/01/09/re-blogging/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 08:26:56 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Uncategorized</category>
		<guid>http://keeve.blogsome.com/2009/01/09/re-blogging/</guid>
		<description><![CDATA[	This blog is active again with a fresh start, after i had trashed my previous blog i had come to my senses to re-create, focusing on technical and educational post and not mixing any petty stuffs. I am hoping to aid knowledge seekers specially students who need guide to do their homework. I will basically [...]]]></description>
			<content:encoded><![CDATA[	<p>This blog is active again with a fresh start, after i had trashed my previous blog i had come to my senses to re-create, focusing on technical and educational post and not mixing any petty stuffs. I am hoping to aid knowledge seekers specially students who need guide to do their homework. I will basically post all my technical experiences in IT and i am welcome for inquiries if my posts are not sufficient and need further explanations.</p>
	<p>I am not trying to be so diplomatic <img src='http://keeve.blogsome.com/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , in truth , i wish to keep my knowledge where i could access it online which will serve as a repertoire of all new and old techie things in IT. In turn it will refresh my memory every time i will visit my blog or if i need to re-use techniques, i do not have a good memory <img src='http://keeve.blogsome.com/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  i admit <img src='http://keeve.blogsome.com/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . </p>
	<p>Cheers for my blog! Keep blogging! <img src='http://keeve.blogsome.com/wp-images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://keeve.blogsome.com/2009/01/09/re-blogging/feed/</wfw:commentRss>
	</item>
	</channel>
</rss>
