發表文章

目前顯示的是 8月, 2015的文章

幫Notepad++安裝佈景主題

圖片
可以找Textmate的佈景主題, 利用網路上的工具來轉換成Notepad++的佈景主題。 在 Themes Gallery 網站可以找到很多好看的佈景主題,依下面步驟產生Notepad++的佈景主題, STEP-01 STEP-02 STEP-03 STEP-04 STEP-05 將上一步驟複製的XML內容貼至 Textmate theme to Notepad++ styler 網站 STEP-06 將檔案下載至Notepad++安裝目錄下的themes(若不存在則自行建立) STEP-07 STEP-08 選擇剛剛產生的主題 Reference Web: Themes Gallery:http://wiki.macromates.com/Themes/UserSubmittedThemes Textmate theme to Notepad++ styler:http://framework.lojcomm.com.br/tmTheme2nppStyler/ http://ilowkey.net/share-notepad-theme/#.Vd0gtPmqqko

Oracle Account Expired

Oracle安裝完後,User Account預設180日後會失效,以下為解開失效狀態,及修改為永不失效的方式 <查詢ABC使用者的Profile> select username, profile from DBA_USERS where username =  'ABC'; <查詢DEFAULT Profile的設定> select resource_name, limit from dba_profiles where profile='DEFAULT' and resource_type='PASSWORD'; <修改為永不失效> alter profile DEFAULT limit password_life_time UNLIMITED; <解開鎖定> alter user ABC identified by abc123 account unlock; reference web: http://xmlandmore.blogspot.tw/2013/02/oracle-how-to-configure-user-accounts.html http://stackoverflow.com/questions/1095871/how-do-i-turn-off-oracle-password-expiration

Oracle 建立臨時VIEW

在Oracle SQL執行時可以使用下列SQL來建立和使用VIEW, 在同一執行Session結束時就消失了。 With [table] AS ( select ..... from XXX ) SELECT * FROM [table] sample code WITH t_bom AS ( SELECT * from bmb_file WHERE bmb01 LIKE 'E80015%' ), t_ima AS ( SELECT ima01, ima02, ima021, ima140, imaacti FROM ima_file WHERE ima01 LIKE 'E80015%' ) SELECT * FROM t_bom, t_ima WHERE bmb01=ima01 ; ※ 這個寫法聽說效能很差