ORA-06502 PL/SQL: numeric or value error string
Cause: An arithmetic, numeric, string, conversion, or constraint error occurred. For example, this error occurs if an attempt is made to assign the value NULL to a variable declared NOT NULL, or if an attempt is made to assign an integer larger than 99 to a variable declared NUMBER(2). Action: Change the data, how it is manipulated, or how it is declared so that values do not violate constraints. 

解决方案 »

  1.   

    ORA-06512 at string line string
    Cause: Backtrace message as the stack is unwound by unhandled exceptions. Action: Fix the problem causing the exception or write an exception handler for this condition. Or you may need to contact your application administrator or database administrator. 
      

  2.   

    ORA-00905 missing keyword
    Cause: A required keyword is missing. Action: Correct the syntax. 
      

  3.   

    txt := 'select count(*) from ' || I_tableName 
          || ' where ' || I_columnname || ' = :column_value';
      execute immediate txt into V_Cnt using I_ColumnValue;