<?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>Arejae.Com</title>
	<atom:link href="http://www.arejae.com/blogv2/feed" rel="self" type="application/rss+xml" />
	<link>http://www.arejae.com/blogv2</link>
	<description>me,myself,english and programming..</description>
	<lastBuildDate>Fri, 12 Mar 2010 06:18:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Error: ORA-01033 ORACLE initialization or shutdown in progress</title>
		<link>http://www.arejae.com/blogv2/error-ora-01033-oracle-initialization-or-shutdown-in-progress.html</link>
		<comments>http://www.arejae.com/blogv2/error-ora-01033-oracle-initialization-or-shutdown-in-progress.html#comments</comments>
		<pubDate>Thu, 11 Mar 2010 04:07:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL/ETL]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blogv2/error-ora-01033-oracle-initialization-or-shutdown-in-progress.html</guid>
		<description><![CDATA[For some reason which I don&#8217;t know why, my oracle give me that kind of error.
Googling give me for below solution. And here I post for my future reference, and also for you if you got this same problem .  
Run this command first in console.
sqlplus /nolog
And after that, use these commands :
SQL&#62; connect [...]]]></description>
			<content:encoded><![CDATA[<p>For some reason which I don&#8217;t know why, my oracle give me that kind of error.</p>
<p>Googling give me for below solution. And here I post for my future reference, and also for you if you got this same problem . <img src='http://www.arejae.com/blogv2/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Run this command first in console.</p>
<p><strong>sqlplus /nolog</strong></p>
<p>And after that, use these commands :</p>
<p>SQL&gt; connect / as sysdba<br />
Connected.<br />
SQL&gt; shutdown abort<br />
ORACLE instance shut down<br />
SQL&gt; startup nomount<br />
ORACLE instance started.<br />
SQL&gt; alter database mount;<br />
SQL&gt; alter database open;</p>
<p><span id="more-681"></span>
<p>If you got below error</p>
<p>ERROR at line 1:<br />
ORA-01113: file 14 needs media recovery<br />
ORA-01110: data file 14:<br />
&#8216;C:\APP\ADMINISTRATOR\ORADATA\EKPTGHQ1\DATAFILE\IDX02.DBF&#8217;</p>
<p>SQL&gt; alter database recover datafile <strong>14</strong> ;</p>
<p>repeat recover datafile step if you have a few corrupted data file.</p>
<p>SQL&gt; shutdown</p>
<p>SQL&gt; startup</p>
<p>That is. Till then&#8230;</p>
<p>Happy SQL-ing&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/error-ora-01033-oracle-initialization-or-shutdown-in-progress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drop table if Exists in Oracle</title>
		<link>http://www.arejae.com/blogv2/drop-table-if-exists-in-oracle.html</link>
		<comments>http://www.arejae.com/blogv2/drop-table-if-exists-in-oracle.html#comments</comments>
		<pubDate>Tue, 02 Mar 2010 10:47:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blogv2/drop-table-if-exists-in-oracle.html</guid>
		<description><![CDATA[In MySQL, we can easily drop table and check whether it is exist or not using this statement.

DROP TABLE IF EXISTS MyTable


In Oracle, you can&#8217;t do that.
Solution that I found is to create a procedure and execute it.
As for my reference and others (if any) here is the script to create that procedure.


create or replace [...]]]></description>
			<content:encoded><![CDATA[<p>In MySQL, we can easily drop table and check whether it is exist or not using this statement.</p>
<pre class="sql" name="code">
DROP TABLE IF EXISTS MyTable
</pre>
<p></p>
<p>In Oracle, you can&#8217;t do that.</p>
<p>Solution that I found is to create a procedure and execute it.</p>
<p>As for my reference and others (if any) here is the script to create that procedure.</p>
<p><span id="more-680"></span>
<pre class="sql" name="code">
create or replace procedure drop_table (tab_name in varchar2)
is
qry_string varchar2(4000);
cnt number;
begin
select count(1) into cnt from user_tables where lower(table_name) = lower(tab_name);

if cnt &gt; 0 then
qry_string := 'DROP TABLE ' || tab_name;
begin
EXECUTE IMMEDIATE qry_string;
exception
when others then
dbms_output.put_line('Error occured while dropping ' || sqlerrm);
end;
else
dbms_output.put_line('TABLE ' || tab_name ||' does not exist');
end if;
end;
</pre>
<p></p>
<p>to drop your table, just execute this statement.<br />
exec drop_table(&#8216;MyTable&#8217;);</p>
<p>So, you can safely execute below statement without error if the table is not exist.<br />
exec drop_table(&#8216;MyTable&#8217;);<br />
create table MyTable as select * from MyOtherTable;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/drop-table-if-exists-in-oracle.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first post from BlackBerry</title>
		<link>http://www.arejae.com/blogv2/my-first-post-from-blackberry.html</link>
		<comments>http://www.arejae.com/blogv2/my-first-post-from-blackberry.html#comments</comments>
		<pubDate>Sun, 21 Feb 2010 06:05:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[:Else:]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blogv2/my-first-post-from-blackberry.html</guid>
		<description><![CDATA[Testing first blog post using BlackBerry with bbMetaBlog. You can download it here .
p/s: This post has been edited by blogdesk since I&#8217;m having problem editing it using bbMetaBlog.
]]></description>
			<content:encoded><![CDATA[<p>Testing first blog post using BlackBerry with bbMetaBlog. You can download it <a href="http://www.opencod.org/opencod/ls2007party.nsf/bbMetablog.html" target="_blank">here</a> .</p>
<p>p/s: This post has been edited by blogdesk since I&#8217;m having problem editing it using bbMetaBlog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/my-first-post-from-blackberry.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to export VCF file to BlackBerry</title>
		<link>http://www.arejae.com/blogv2/how-to-export-vcf-file-to-blackberry.html</link>
		<comments>http://www.arejae.com/blogv2/how-to-export-vcf-file-to-blackberry.html#comments</comments>
		<pubDate>Fri, 19 Feb 2010 01:43:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blogv2/how-to-export-vcf-file-to-blackberry.html</guid>
		<description><![CDATA[VCF or vCard file is a file format standard for electronic business card. Below are the way how I used to export it to my BlackBerry.
1. Combine all the vcf file into one file. If you are in windows environment you can use below command. Make sure your working directory is correct.
type * &#62; all_contacts.vcf
2. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/VCard" target="_blank">VCF</a> or vCard file is a file format standard for electronic business card. Below are the way how I used to export it to my BlackBerry.</p>
<p>1. Combine all the vcf file into one file. If you are in windows environment you can use below command. Make sure your working directory is correct.</p>
<p><em><strong>type * &gt; all_contacts.vcf</strong></em></p>
<p>2. Download and install <a href="http://www.processtext.com/abcvcard.html" target="_blank">ABC Amber vCard converter</a>. This software can convert <strong>vcf</strong> file to <strong>ipd</strong> file which is recognized by BlackBerry. Click BlackBerry icon to convert the selected contact.</p>
<p><img alt="abcConverter" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/02/abcconverter-1.png" width="270" height="196" /></p>
<p><span id="more-676"></span>
<p>3. Open BlackBerry Desktop Manager, click restore and choose your earlier <strong>ipd</strong> that has been converted.</p>
<p><img alt="bbRestore" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/02/bbrestore.png" width="240" height="178" /></p>
<p>4. If everything is ok, then you will see dialog box like this.</p>
<p><img alt="addressbook" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/02/addressbook.png" width="364" height="156" /></p>
<p>That&#8217;s all. Good Luck. <img src='http://www.arejae.com/blogv2/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>WARNING !! This will replace all your current contact with those records.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/how-to-export-vcf-file-to-blackberry.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My First Hello World in BlackBerry</title>
		<link>http://www.arejae.com/blogv2/my-first-hello-world-in-blackberry.html</link>
		<comments>http://www.arejae.com/blogv2/my-first-hello-world-in-blackberry.html#comments</comments>
		<pubDate>Tue, 16 Feb 2010 18:54:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blogv2/my-first-hello-world-in-blackberry.html</guid>
		<description><![CDATA[After following some of the BlackBerry developer tutorials here and here, I finally manage to run my first BlackBerry application. It&#8217;s cool.  
Here is my BlackBerry screenshot taken by CaptureIt

Why develop for BlackBerry ??

]]></description>
			<content:encoded><![CDATA[<p>After following some of the BlackBerry developer tutorials <a href="http://na.blackberry.com/eng/developers/resources/tutorials.jsp#tab_tab_development" target="_blank">here</a> and <a href="http://www.devx.com/wireless/Article/27869/1954" target="_blank">here</a>, I finally manage to run my first BlackBerry application. It&#8217;s cool. <img src='http://www.arejae.com/blogv2/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Here is my BlackBerry screenshot taken by <a href="http://www.thetechmogul.com/CaptureIt/" target="_blank">CaptureIt</a></p>
<p><img alt="Capture19 20 23" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/02/capture19_20_23.jpg" width="240" height="183" /></p>
<p>Why develop for BlackBerry ??</p>
<p><img alt="whyBB" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/02/whybb.png" width="450" height="219" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/my-first-hello-world-in-blackberry.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
