標籤:1、環境假設:名詞解釋:應用程式頁面即使用者在瀏覽器中看到的頁面,一般程式員在寫頁面的時候都會在頁面中設定編碼,這個編碼也即是資料在瀏覽器到web伺服器間傳輸的編碼,如果不設定則預設iso-8859的編碼,此編碼不支援中文。一般來講j2ee項目的頁面都會有很多,現取兩個頁面來做解釋,分別為頁面1,頁面2,頁面1編碼為UTF-8,頁面2編碼為GBK。oracle的用戶端配置內容如下:SQL> select * from
標籤:近期部署在生產環境的應用突然無法訪問,查看應用日誌發現無法擷取資料庫連接。 SystemErr R Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connectionSystemErr R at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:359)SystemErr R
標籤:一、字元函數 1.大小寫控制函數 --lower:使字母變為小寫----upper:使字母變為大寫----initcap:使字元的第一個字母變為大寫--select lower(‘ABC‘), upper(‘sql‘), initcap(‘HeLlo SQL‘) from dual;select employee_id, department_id,last_name, salary from employees where
標籤:錯誤示範:SQL> alter system set nls_date_format=‘yyyy-mm-dd 24hh:mi:ss‘ scope=spfile;System altered.我更改了資料庫的日期格式後,重啟後,資料庫開啟不了了。ORA-01821: date format not recognized,有沒有人知道怎麼改回去。 大意 hh24 寫成了24hh解決步驟:1.可能需要重配netca,啟動監聽到執行個體。 2.startup pfile=/u01
標籤:--建立全文索引grant execute on ctx_ddl to username;--使用其他帳號對username授權exec ctx_ddl.create_preference(‘my_lexer‘,‘chinese_lexer‘);--建立chinese_lexer詞法器(中文詞法分析器)exec ctx_ddl.create_preference(‘my_filter‘,‘CHARSET_FILTER‘);--建立字元過濾器exec
標籤:1、查看使用者的profile是那個,一般是default:select username, profile from dba_users;2、查看指定概要檔案(如default)的密碼有效期間設定:select * from dba_profiles where profile = ‘DEFAULT‘ and resource_name =