import data file into Oracle database, using SQL*Loader utility … sqlldr … sql loader

use exp

For example, in the following example, benefits table has a column called v_status. This exp command will export only the rows that contains “INVALID” as value in the v_status column.

$ exp hradmin/mypassword TABLES=benefits query=\"where v_status=\'INVALID\'\"
..
About to export specified tables via Conventional Path ...
. . exporting table BENEFITS 20783 rows exported


 

SQL*Loader (sqlldr) is the utility to use for high performance data loads. The data can be loaded from any text file and inserted into the database.

螢幕快照 2014 09 03 上午10 42 12

Read more

osx / mac : use ssh tunnel / ssh proxy 說明

沒有軟體也可以這樣:

From a command line run:

ssh -D 12345 [email protected]
-D 12345 tells SSH to run the SOCKS server on port 12345.

後面 browser 再使用 socks server 12345  port

 

先找 osx 這個軟體 ssh secret socks , download : http://nihilex.com/secret-socks

 

螢幕快照 2011 12 31 上午8 53 07

 

如這頁說明裝好 ssh secret socks
http://www.pairsdoll.com/secret-socks.html/

 

在 OSX 的 網路 setting 那邊應該 這軟體會幫忙設好, 若沒有就照下面畫面設定

螢幕快照 2011 12 31 上午10 42 36

 

 

那頁假設是用 local 的 SOCKS PORT 是 9999 那麼 Firefox 的 設定就這樣設定

螢幕快照 2011 12 31 上午9 15 13