ora-06502

    33熱度

    7回答

    我試圖運行具有幾列CLOB數據類型的查詢。如果我像正常運行查詢,所有這些字段只有(CLOB)作爲值。 我嘗試使用DBMS_LOB.substr(column),我得到的錯誤 ORA-06502: PL/SQL: numeric or value error: character string buffer too small 我怎樣才能查詢CLOB列?

    4熱度

    2回答

    在BLOB結果使用DBMS_LOB.SUBSTR當我嘗試在BLOB字段運行dbms_lob.substr功能,我得到以下錯誤: ORA-06502: PL/SQL: numeric or value error: raw variable length too long ORA-06512: at line 1 我的查詢: select dbms_lob.substr(my_report, 100

    7熱度

    6回答

    我正在使用Oracle SQL Developer,但是我看到返回參考遊標的包的結果有問題。下面是封裝的定義: CREATE OR REPLACE package instance.lswkt_chgoff_recov as type rec_type is record ( source_cd lswk_tpr.gltrans.tpr_sourc

    0熱度

    3回答

    我有如下包,它是給錯誤 ORA-06502: PL/SQL: numeric or value error: character string buffer too small 請讓我知道了什麼錯誤這裏。 CREATE OR REPLACE PACKAGE BODY PKG_H IS PROCEDURE PROC_SUBMIT_H ( Pout_Rqst_Id

    0熱度

    1回答

    create or replace procedure prdBandwidth is cursor c_bandwidth is select distinct mt.name bwname,b.circuitno circuitno,subapp.customerno customerno,netinfo.bandwidthtype bandwidthtype from wom.

    5熱度

    1回答

    我們遇到了與我們的Oracle表定義(DDL)特定的問題,在我們的PL/SQL腳本之一。 的問題是,有一個在表中的變化,改變從varchar(20)到varchar(30),這種變化卻並不因此努力體現在我們的PL/SQL腳本消費數據,這仍然是varchar(20)之一,引起ORA-06502: PL/SQL: numeric or value error錯誤在我們的迴歸測試之一。 我想在此尋求來自

    0熱度

    2回答

    我想在Oracle Express Edition編輯器中運行一個程序。當我執行程序時,我得到一個錯誤 ORA-06502: PL/SQL: numeric or value error: character string buffer too small 誰能幫我明白爲什麼我收到一個錯誤,如何修復代碼? VARIABLE gvn_total_salary NUMBER; DECLARE

    0熱度

    1回答

    我不知道是否有一種方式來獲得關於什麼導致異常多一點信息: Error starting at line 5 in command: exec .... Error report: ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at ..., line 558

    3熱度

    1回答

    我創建了一個遊標來選擇實際數據,並循環輸出原始值和轉換爲數字後的值。應用程序偶爾會拋出無效的數字錯誤。以下是我的測試(不包括select語句)代碼和輸出。 LOOP FETCH myCursor into v_answer; EXIT WHEN myCursor%notfound; DBMS_OUTPUT.PUT_LINE('Raw answer: ' || v_a