<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>AreJae.Com</title>
	
	<link>http://www.arejae.com/blog</link>
	<description>me,myself,english and programming…</description>
	<pubDate>Fri, 10 Jul 2009 03:17:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Arejaecom" type="application/rss+xml" /><feedburner:emailServiceId>Arejaecom</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FArejaecom" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FArejaecom" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FArejaecom" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/Arejaecom" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FArejaecom" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FArejaecom" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FArejaecom" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Something to ponder</title>
		<link>http://feedproxy.google.com/~r/Arejaecom/~3/eC_CKkqzVdc/something-to-ponder.html</link>
		<comments>http://www.arejae.com/blog/something-to-ponder.html#comments</comments>
		<pubDate>Fri, 10 Jul 2009 03:17:29 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
		
		<category><![CDATA[My Life]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/something-to-ponder.html</guid>
		<description><![CDATA[Never regret.
If it&#8217;s good, it&#8217;s wonderful
If it&#8217;s bad, it&#8217;s experience

&#160;
p/s : who feel time is running too fast&#8230;?
]]></description>
			<content:encoded><![CDATA[<p>Never regret.</p>
<p>If it&#8217;s good, it&#8217;s wonderful</p>
<p>If it&#8217;s bad, it&#8217;s experience</p>
<p><img height="337" alt="have a wonderful journey" src="http://www.arejae.com/blog/wp-content/uploads/2009/07/have-a-wonderful-journey.jpg" width="450" /></p>
<p>&nbsp;</p>
<p>p/s : who feel time is running too fast&#8230;?</p>
<img src="http://feeds.feedburner.com/~r/Arejaecom/~4/eC_CKkqzVdc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blog/something-to-ponder.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arejae.com/blog/something-to-ponder.html</feedburner:origLink></item>
		<item>
		<title>HR2000 Telekom 8 Digit Converter.</title>
		<link>http://feedproxy.google.com/~r/Arejaecom/~3/WEkjRf7bX10/hr2000-telekom-8-digit-converter.html</link>
		<comments>http://www.arejae.com/blog/hr2000-telekom-8-digit-converter.html#comments</comments>
		<pubDate>Fri, 08 May 2009 02:47:21 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
		
		<category><![CDATA[:Else:]]></category>

		<category><![CDATA[AutoIt]]></category>

		<category><![CDATA[My Life]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/hr2000-telekom-8-digit-converter.html</guid>
		<description><![CDATA[Previously, I wrote about Automate 7 to 8 digit phone number conversion using AutoIT. Since then, I&#8217;m not using it anymore until I get a request regarding phone number conversion from my reader.
Searching that software online bring me no luck, so I ask my friend to email it to me. Now, im here to share [...]]]></description>
			<content:encoded><![CDATA[<p>Previously, I wrote about <a href="http://www.arejae.com/blog/automate-7-to-8-digit-phone-number-conversion-using-autoit.html">Automate 7 to 8 digit phone number conversion using AutoIT</a>. Since then, I&#8217;m not using it anymore until I get a request regarding phone number conversion from my reader.</p>
<p>Searching that software online bring me no luck, so I ask my friend to email it to me. Now, im here to share the software in case someone need it.</p>
<p><img height="230" alt="HR Telekom" src="http://www.arejae.com/blog/wp-content/uploads/2009/05/hr-telekom.jpg" width="333" /></p>
<p>You can download it <a href="http://www.arejae.com/download/hrtelekom8.zip">here</a>.</p>
<p>p/s: I&#8217;m very very busy nowdays&#8230;.sorry if my response is so slow. <img src='http://www.arejae.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/Arejaecom/~4/WEkjRf7bX10" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blog/hr2000-telekom-8-digit-converter.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arejae.com/blog/hr2000-telekom-8-digit-converter.html</feedburner:origLink></item>
		<item>
		<title>Automate your oracle import and export using AutoIt</title>
		<link>http://feedproxy.google.com/~r/Arejaecom/~3/XZ2BwJaq5u0/automate-your-oracle-import-and-export-using-autoit.html</link>
		<comments>http://www.arejae.com/blog/automate-your-oracle-import-and-export-using-autoit.html#comments</comments>
		<pubDate>Wed, 25 Mar 2009 11:50:43 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
		
		<category><![CDATA[AutoIt]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/automate-your-oracle-import-and-export-using-autoit.html</guid>
		<description><![CDATA[I always believe that I can do almost everything using AutoIt. Well, since I need to do a lot of import and export job manually, I just wondering why not I just automagically do it using AutoIt.
There are a few steps involve in this process :
1. export data from server to my local pc
2. connect [...]]]></description>
			<content:encoded><![CDATA[<p>I always believe that I can do <strong><em>almost</em></strong> everything using AutoIt. Well, since I need to do a lot of import and export job manually, I just wondering why not I just automagically do it using AutoIt.</p>
<p>There are a few steps involve in this process :</p>
<p>1. export data from server to my local pc</p>
<p>2. connect to sqlplus and drop user</p>
<p>3. create user and grant permission</p>
<p>4. import back using dump file created in step 1</p>
<p>Now, here how I convert those steps into AutoIt.</p>
<p><span id="more-587"></span>
<pre class="sql" name="code">
Opt("WinTitleMatchMode",2)
$cmdPID = Run("cmd", "", @SW_SHOWNORMAL)
WinWaitActive("cmd.exe")
$hDos = WingetHandle("cmd.exe")
SendKeepActive($hDos)

Send("d:")
Send("{ENTER}")
Send("cd\backup")
Send("{ENTER}")

$filename = @YEAR &amp; @MON &amp; @MDAY &amp; ".dmp"
;First part
$parameter = "arejae/arejae@mydevelopmentserver file=" &amp; $filename
Send('exp.exe ' &amp; $parameter)
Send ("{ENTER}") 

;Second part
Send('sqlplus "/as sysdba"')
Send ("{ENTER}")
Send('drop user arejae cascade;')
Send ("{ENTER}")
;assuming no errors..well..just to let you know that assuming is killing...

;3rd part
Send('create user arejae identified by arejae;')
Send ("{ENTER}")
Send('grant DBA to arejae;')
Send ("{ENTER}") 

;exit SQLPlus and proceed to import file
Send("exit")
Send("{ENTER}")

;4th part
Send('imp arejae/arejae file='&amp; $filename &amp; ' full=y ')
Send ("{ENTER}") 

;done..exit from command prompt
Send("exit")
Send("{ENTER}")
</pre>
<p></p>
<p>That&#8217;s all.. now i can combine all those steps with only one single click or..i can schedule it to run at anytime. <img src='http://www.arejae.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/Arejaecom/~4/XZ2BwJaq5u0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blog/automate-your-oracle-import-and-export-using-autoit.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arejae.com/blog/automate-your-oracle-import-and-export-using-autoit.html</feedburner:origLink></item>
		<item>
		<title>Domain Transfer and New Hosting</title>
		<link>http://feedproxy.google.com/~r/Arejaecom/~3/XTBJlrInAE4/domain-transfer-and-new-hosting.html</link>
		<comments>http://www.arejae.com/blog/domain-transfer-and-new-hosting.html#comments</comments>
		<pubDate>Sat, 21 Mar 2009 14:55:10 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
		
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://myhlai.com/arejae.com/blog/testing-new-post-from-new-hosting.html</guid>
		<description><![CDATA[This is my first time changing my domain hosting and also transfer my arejae.com domain. Previously everything is taken care by my hosting provider.

You can read how to transfer your domain name in detail here.
Below is the first step to initiate the domain transfer. The rest, we just need to follow the instruction.


Make sure we [...]]]></description>
			<content:encoded><![CDATA[<p>This is my first time changing my domain hosting and also transfer my arejae.com domain. Previously everything is taken care by my hosting provider.</p>
<p><img height="150" alt="2009-02-28 012002" src="http://www.arejae.com/blog/wp-content/uploads/2009/03/2009-02-28-012002.jpg" width="450" /></p>
<p>You can read how to transfer your domain name in detail <a href="http://www.namecheap.com/learn/transfer-your-domain/transfer-process.asp" target="_blank">here</a>.</p>
<p>Below is the first step to initiate the domain transfer. The rest, we just need to follow the instruction.</p>
<p><img height="272" alt="2009-02-28 011135" src="http://www.arejae.com/blog/wp-content/uploads/2009/03/2009-02-28-011135.jpg" width="410" /></p>
<p><span id="more-581"></span>
<p>Make sure we know the EPP key. This is basically a password for a domain name and can be requested from our current provider.</p>
<p><img height="98" alt="epp" src="http://www.arejae.com/blog/wp-content/uploads/2009/03/epp.jpg" width="450" /></p>
<p>Once everything is done, you will receive an email to approve the domain transfer.</p>
<p><img height="156" alt="approval" src="http://www.arejae.com/blog/wp-content/uploads/2009/03/approval.jpg" width="450" /></p>
<p>ermm&#8230;a litte bit confuse here right?? yes..currently you are the owner of the domain name but someone else is take care for you. Now you want to take care by yourself <img src='http://www.arejae.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It take me for one week++ to complete the overall process.</p>
<img src="http://feeds.feedburner.com/~r/Arejaecom/~4/XTBJlrInAE4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blog/domain-transfer-and-new-hosting.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arejae.com/blog/domain-transfer-and-new-hosting.html</feedburner:origLink></item>
		<item>
		<title>Drop all triggers in Oracle</title>
		<link>http://feedproxy.google.com/~r/Arejaecom/~3/pEplR5158pk/drop-all-triggers-in-oracle.html</link>
		<comments>http://www.arejae.com/blog/drop-all-triggers-in-oracle.html#comments</comments>
		<pubDate>Fri, 20 Mar 2009 11:34:47 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
		
		<category><![CDATA[SQL/ETL]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/drop-all-triggers-in-oracle.html</guid>
		<description><![CDATA[If you need to drop all the triggers in oracle for a split second, here how you can do it. Below is the sample how to drop all triggers in myTesting schema with trigger name like &#8216;%_BI&#8217;

begin
for i in (select trigger_name,owner from dba_triggers where  trigger_name like '%_BI%' and owner = 'myTesting' ) LOOP
execute immediate [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to drop all the triggers in oracle for a split second, here how you can do it. Below is the sample how to drop all triggers in myTesting schema with trigger name like &#8216;%_BI&#8217;</p>
<pre class="sql" name="code">
begin
for i in (select trigger_name,owner from dba_triggers where  trigger_name like '%_BI%' and owner = 'myTesting' ) LOOP
execute immediate 'DROP TRIGGER '||i.owner||'.'||i.trigger_name;
END LOOP;
END;
</pre>
<pre class="sql" name="code">
Make sure you know what you are doing.
</pre>
<pre class="sql" name="code">
Till then..
</pre>
<pre class="sql" name="code">
Happy coding...
</pre>
<img src="http://feeds.feedburner.com/~r/Arejaecom/~4/pEplR5158pk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blog/drop-all-triggers-in-oracle.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arejae.com/blog/drop-all-triggers-in-oracle.html</feedburner:origLink></item>
		<item>
		<title>Check for NULL Value in Oracle and MySQL</title>
		<link>http://feedproxy.google.com/~r/Arejaecom/~3/OnWPD_W4WAA/check-for-null-value-in-oracle-and-mysql.html</link>
		<comments>http://www.arejae.com/blog/check-for-null-value-in-oracle-and-mysql.html#comments</comments>
		<pubDate>Thu, 05 Mar 2009 03:24:13 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
		
		<category><![CDATA[Database]]></category>

		<category><![CDATA[SQL/ETL]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/check-for-null-value-in-oracle-and-mysql.html</guid>
		<description><![CDATA[If you are familiar with MS-SQL, you will know that you can use ISNULL function to convert NULL value to something else. In below case, it is an example how to convert NULL value to zero.
ISNULL(myField,0)
In Oracle, you can use NVL to get the same result.
NVL(myField,0)
Same thing for MySQL, you can use IFNULL to get [...]]]></description>
			<content:encoded><![CDATA[<p>If you are familiar with MS-SQL, you will know that you can use ISNULL function to convert NULL value to something else. In below case, it is an example how to convert NULL value to zero.</p>
<p><strong>ISNULL(myField,0)</strong></p>
<p>In Oracle, you can use NVL to get the same result.</p>
<p><strong>NVL(myField,0)</strong></p>
<p>Same thing for MySQL, you can use IFNULL to get the same result.</p>
<p><strong>IFNULL(myField,0)</strong></p>
<p>&nbsp;</p>
<p>Don&#8217;t under estimate with this function. I&#8217;m debugging my program for almost 1 hours just to notice that some values in my Oracle tables having NULL values and causing errors while inserting to MySQL tables.</p>
<p>That&#8217;s my quick update for today. Till then&#8230;Happy Coding. <img src='http://www.arejae.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/Arejaecom/~4/OnWPD_W4WAA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blog/check-for-null-value-in-oracle-and-mysql.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arejae.com/blog/check-for-null-value-in-oracle-and-mysql.html</feedburner:origLink></item>
		<item>
		<title>AutoIt - Connecting to oracle without TNS Names</title>
		<link>http://feedproxy.google.com/~r/Arejaecom/~3/w-SrSJ5UKHI/autoit-connecting-to-oracle-without-tns-names.html</link>
		<comments>http://www.arejae.com/blog/autoit-connecting-to-oracle-without-tns-names.html#comments</comments>
		<pubDate>Mon, 02 Mar 2009 13:38:12 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
		
		<category><![CDATA[Database]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/autoit-connecting-to-oracle-without-tns-names.html</guid>
		<description><![CDATA[In my previous post, I&#8217;m showing the way how to connect to oracle database using AutoIt. If you see the connect string, you will find it is very simple since we already define the entry ORCL in tnsname.ora file.

$DSN = "Driver={Microsoft ODBC for Oracle};Server=ORCL;Uid=myID;Pwd=myPwd;"


If for a some reason, you need to connect to oracle database [...]]]></description>
			<content:encoded><![CDATA[<p>In my <a href="http://www.arejae.com/blog/autoit-connecting-to-oracle.html">previous post</a>, I&#8217;m showing the way how to connect to oracle database using AutoIt. If you see the connect string, you will find it is very simple since we already define the entry ORCL in tnsname.ora file.</p>
<pre class="vb" name="code">
$DSN = "Driver={Microsoft ODBC for Oracle};Server=ORCL;Uid=myID;Pwd=myPwd;"
</pre>
<p></p>
<p>If for a some reason, you need to connect to oracle database without doing an entry in tnsname.ora file, below is the way how to do it.</p>
<pre class="vb" name="code">
$DSN =   "Driver={Microsoft ODBC for Oracle}; " &amp; _
         "CONNECTSTRING=(DESCRIPTION=" &amp; _
         "(ADDRESS=(PROTOCOL=TCP)" &amp; _
         "(HOST=192.168.1.6)(PORT=1521))" &amp; _
         "(CONNECT_DATA=(SERVICE_NAME=orcl))); uid=myID;pwd=myPWD;"
</pre>
<p></p>
<p>That&#8217;s all.</p>
<p>&nbsp;</p>
<p>Happy coding !!</p>
<p>p/s: Time is running so fast. do you think so ??</p>
<img src="http://feeds.feedburner.com/~r/Arejaecom/~4/w-SrSJ5UKHI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blog/autoit-connecting-to-oracle-without-tns-names.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arejae.com/blog/autoit-connecting-to-oracle-without-tns-names.html</feedburner:origLink></item>
		<item>
		<title>AutoIT - Connecting to Oracle.</title>
		<link>http://feedproxy.google.com/~r/Arejaecom/~3/WcA_sjxmXNE/autoit-connecting-to-oracle.html</link>
		<comments>http://www.arejae.com/blog/autoit-connecting-to-oracle.html#comments</comments>
		<pubDate>Wed, 18 Feb 2009 00:00:00 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
		
		<category><![CDATA[Database]]></category>

		<category><![CDATA[SQL/ETL]]></category>

		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/autoit-connecting-to-oracle.html</guid>
		<description><![CDATA[Previously I wrote about how to connect to SQL Server using AutoIt. Since that I&#8217;m using Oracle as my main database in my new workplace, I will show how to do the same thing for Oracle.

$conn = ObjCreate( "ADODB.Connection" )
$DSN = "Driver={Microsoft ODBC for Oracle};Server=ORCL;Uid=myID;Pwd=myPwd;"
$conn.Open($DSN)
$rs = ObjCreate( "ADODB.RecordSet" )
$rs.Open( "select BANNER from v$version where banner [...]]]></description>
			<content:encoded><![CDATA[<p>Previously I wrote about how to <a href="http://www.arejae.com/blog/autoit-connecting-to-sql-server.html">connect to SQL Server using AutoIt</a>. Since that I&#8217;m using Oracle as my main database in my new workplace, I will show how to do the same thing for Oracle.</p>
<pre class="vb" name="code">
$conn = ObjCreate( "ADODB.Connection" )
$DSN = "Driver={Microsoft ODBC for Oracle};Server=ORCL;Uid=myID;Pwd=myPwd;"
$conn.Open($DSN)
$rs = ObjCreate( "ADODB.RecordSet" )
$rs.Open( "select BANNER from v$version where banner like 'Oracle%'", $conn )
MsgBox(0, "AutoIT-SQL Result", "Value = " &amp; $rs.Fields( "BANNER" ).Value )
$conn.close
</pre>
<p>The codes will produce something like below.</p>
<p><img height="107" alt="autoit-oracle" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/02/autoit-oracle.jpg" width="413" /></p>
<p>&nbsp;</p>
<p>Till then..</p>
<p>Happy coding..!</p>
<img src="http://feeds.feedburner.com/~r/Arejaecom/~4/WcA_sjxmXNE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blog/autoit-connecting-to-oracle.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arejae.com/blog/autoit-connecting-to-oracle.html</feedburner:origLink></item>
		<item>
		<title>Generate DROP TABLE Statement in ORACLE.</title>
		<link>http://feedproxy.google.com/~r/Arejaecom/~3/rfRtaCJTyqY/generate-drop-table-statement-in-oracle.html</link>
		<comments>http://www.arejae.com/blog/generate-drop-table-statement-in-oracle.html#comments</comments>
		<pubDate>Mon, 16 Feb 2009 12:53:59 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
		
		<category><![CDATA[Database]]></category>

		<category><![CDATA[My Life]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/generate-drop-table-statement-in-oracle.html</guid>
		<description><![CDATA[I&#8217;ve come to this site while gooling around for generating drop tables statement in Oracle. Thanks.
As for my future reference, I will write those SQL statement in my post.

select 'drop table '&#124;&#124;table_name&#124;&#124;' CASCADE CONSTRAINTS;' from USER_TABLES where table_name like '%_XXX%'



Happy SQL-ing !
p/s: Is there anyone know about replication in oracle ?? it gives me headache [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve come to this <a href="http://www.adam-bien.com/roller/abien/entry/generating_drop_tables_for_oracle" target="_blank">site</a> while gooling around for generating drop tables statement in Oracle. Thanks.</p>
<p>As for my future reference, I will write those SQL statement in my post.</p>
<pre class="sql" name="code">
select 'drop table '||table_name||' CASCADE CONSTRAINTS;' from USER_TABLES where table_name like '%_XXX%'
</pre>
<pre class="sql" name="code">
</pre>
<p>Happy SQL-ing !</p>
<p>p/s: Is there anyone know about replication in oracle ?? it gives me headache !! grrrrrr</p>
<img src="http://feeds.feedburner.com/~r/Arejaecom/~4/rfRtaCJTyqY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blog/generate-drop-table-statement-in-oracle.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arejae.com/blog/generate-drop-table-statement-in-oracle.html</feedburner:origLink></item>
		<item>
		<title>How To Export CSV to MySQL using Pentaho</title>
		<link>http://feedproxy.google.com/~r/Arejaecom/~3/mXnEX0D9sL8/how-to-export-csv-to-mysql-using-pentaho.html</link>
		<comments>http://www.arejae.com/blog/how-to-export-csv-to-mysql-using-pentaho.html#comments</comments>
		<pubDate>Sun, 18 Jan 2009 04:10:02 +0000</pubDate>
		<dc:creator>arejae</dc:creator>
		
		<category><![CDATA[SQL/ETL]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blog/how-to-export-csv-to-mysql-using-pentaho.html</guid>
		<description><![CDATA[There are so may ways to populate your CSV file into MySQL table. Today I will share how to do this task easily with Pentaho.
Previously I upload the csv file containing malaysia postcode here hence I will use this file as my sample for this tutorial.
1. Create new transformation (I&#8217;m assuming that you know how [...]]]></description>
			<content:encoded><![CDATA[<p>There are so may ways to populate your CSV file into MySQL table. Today I will share how to do this task easily with <a href="http://www.arejae.com/blog/pentaho-data-integration-introduction.html">Pentaho</a>.</p>
<p>Previously I upload the csv file containing malaysia postcode <a href="http://www.arejae.com/blog/download-malaysian-postcode.html">here</a> hence I will use this file as my sample for this tutorial.</p>
<p><strong>1. Create new transformation</strong> (I&#8217;m assuming that you know how to open up this application)</p>
<p><img height="191" alt="2009-01-18 101430" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-101430.jpg" width="436" /></p>
<p><strong>2. Drag CSV file input to Transformation area</strong></p>
<p><img style="WIDTH: 426px; HEIGHT: 212px" height="225" alt="2009-01-18 101516" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-101516-1.jpg" width="450" /></p>
<p><span id="more-550"></span>
<p><strong>3. Double click CSV file input and Browse the source file.</strong></p>
<p>Once the source file is in place, click the Get Fields button.</p>
<p>Name,Type,Length will auto populate based on the file contain. Change it  accordingly.</p>
<p><img height="309" alt="2009-01-18 101649" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-101649.jpg" width="450" /></p>
<p><strong>4. Once the source file is ready, drag the Table Output to the transformation area.</strong></p>
<p>Click both the file input and table output at the same time right click to create <strong>New Hop</strong></p>
<p><img height="102" alt="2009-01-18 114221" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-114221.jpg" width="450" /></p>
<p>&nbsp;</p>
<p><img style="WIDTH: 399px; HEIGHT: 274px" height="314" alt="2009-01-18 110816" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-110816.jpg" width="434" /></p>
<p><strong>5. Double click table output and create new connection.</strong></p>
<p><img height="111" alt="2009-01-18 110920" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-110920.jpg" width="450" /></p>
<p>&nbsp;</p>
<p><img height="480" alt="2009-01-18 110943" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-110943.jpg" width="450" /></p>
<p><img height="168" alt="2009-01-18 111007" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-111007.jpg" width="288" /></p>
<p><strong>6. Once the connection is define properly,click the SQL button</strong></p>
<p><strong>and Execute the SQL Statement to create the output table</strong></p>
<p><img height="362" alt="2009-01-18 111042" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-111042.jpg" width="450" /></p>
<p><strong>7. Run the transformation.</strong></p>
<p><img height="136" alt="2009-01-18 111059" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-111059.jpg" width="310" /></p>
<p><img height="318" alt="2009-01-18 111117" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-111117.jpg" width="450" /></p>
<p><strong>8. Execution results.</strong></p>
<p><img height="246" alt="2009-01-18 111152" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-111152.jpg" width="450" /></p>
<p><strong>9. Check the result from mysql console.</strong></p>
<p><img height="358" alt="2009-01-18 115839" src="http://myhlai.com/arejae.com/blog/wp-content/uploads/2009/01/2009-01-18-115839.jpg" width="408" /></p>
<p>I&#8217;ve convert this tutorial into movie format. You can have a look it <a href="http://www.youtube.com/watch?v=jSURBmMd8ME">here</a>. Sorry for the quality of the movie is not good. <img src='http://www.arejae.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Till then,Adioss.</p>
<p><strong>ps :</strong></p>
<p>This is my first post in year 2009. I&#8217;m expecting my work life is getting much more busier in this few months.</p>
<img src="http://feeds.feedburner.com/~r/Arejaecom/~4/mXnEX0D9sL8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blog/how-to-export-csv-to-mysql-using-pentaho.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.arejae.com/blog/how-to-export-csv-to-mysql-using-pentaho.html</feedburner:origLink></item>
	</channel>
</rss>
