在linux執行sqlplus報這個錯誤, 執行netca命令, 配置Naming Methods configuration和Local Net Service Name configuration , 然後查看/u01/oracle/product/10.2.1/network/admin/tnsnames.ora和/u01/oracle/product/10.2.1/network/admin/sqlnet.ora檔案,
org.hibernate.QueryException: could not resolve property: name of: com.huateng.ebank.entity.data.customer.CustomerInfo [select ci, dd.dataName from com.huateng.ebank.entity.data.customer.CustomerInfo as ci, resource.bean.pub.DataDic as dd
在做資料移轉時,開發環境是Oracle11g UAT環境是Oracle 10g 在開發環境做資料移轉時沒有問題,但在UAT環境時報如下錯誤: ORA-12899: value too large for column "SOAU"."SJQY_QTSBSPEC"."PROPERTY_6" (actual: 566, maximum: 500) 該欄位的長度為varchar2(5
昨天,同事導資料,本來一直好用的檔案,就一直在報錯:ORA-12899: value too large for column,本來以為程式修改導致欄位長度變了,就改了一張表的結構。結果可好,導下一張表依然報錯。。報錯也好,也就確定了不是程式問題,是DB做的有問題。後來靠著強大的google找到了答案,才覺得Oracle error code也很強大。
1.計算某一月份的天數Calendar time=Calendar.getInstance();time.clear();time.set(Calendar.YEAR,year); //year 為 int 是您需要查詢的年份time.set(Calendar.MONTH,i-1);//注意,Calendar對象預設一月為0 i是您需要查詢的月份 int
Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.2.0.1 - Release: 11.1 to 11.2 Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.2.0.1 [Release: 11.1 to 11.2] Information in this document applies to
create or replace function get_rowid /* 功能:實現oracle中rowid轉換為資料庫中的相應的塊,列號 */ (l_rowid in varchar2)--輸入的rowid return varchar2 is ls_my_rowid varchar2(200);
ORA-01994: GRANT failed: password file missing or disabled Symptoms of The Error: ------------------------- In unix system whenever you tried to grant sysdba privilege to a user it returns with error. ORA-01994: GRANT failed: password file missing