ORA-06550 error help

Hi Everyone,
I am brand new to APEX. I have created an application and it ran fine until I got this error:
ORA-06550: line 1, column 642: PL/SQL: ORA-00917: missing comma ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
Will you please point me in the direction as to how I can resolve this error? Thank you.

alter table tableName drop constraint constraintName ;
You cannot drop an index being used to enforce uniqueness. You must drop the constraint - which will also drop the index. You also cannot drop a unique constraint being used as a reference of a foreign key. Adding the keyword CASCADE will allow you to get around that, but it will destroy the FK references.
alter table tableName drop constraint constraintName CASCADE ;

Similar Messages

  • ORA-06550: Error in Oracle InterConnect DB Adapter

    Hi,
    We are facing a problem while inserting a row into
    Oracle database using Oracle InterConnect DB Adapter.
    All the required configuration information like AppViews,CommonViews,Events,Application etc have been
    created and configured in iStudio.
    At runtime, OracleDB Adapter bridge (subscription) gets
    the message from the interconnect hub and throws the
    following error, while trying to insert the details into
    table.
    Error: db_bridge_writer_1 could not write the message to
    the database because of an application error (java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00201: identifier 'EMPLOYEE_OBJ.SUB_NEWEMPLOYEE_OAI_V1' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ) in the application stored procedure. Please check your stored procedure. (Em
    ployee_Obj.NewEmployee:OAI/V1,OAI/V1,false,0
    EMPNO: 1000.0
    FULLNAME: aaaaaaaaa
    MANAGERNAME: sss
    DIVISIONNO: 19.0
    ) was not written to the database.
    java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00201: identifier 'EMPLOYEE_OBJ.SUB_NEWEMPLOYEE_OAI_V1' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189).........
    Following is the stored procedure that was defined in the
    iStudio at the design time.
    PROCEDURE sub_NewEmployee_OAI_V1(
    EMPNO IN NUMBER,
    FULLNAME IN LONG,
    MANAGERNAME IN LONG,
    DIVISIONNO IN NUMBER
    AS
    dummy NUMBER;
    -- fill declarations here
    BEGIN
    -- fill code here
    dummy:= 0;
    'insert into employee values(EMPNO, FULLNAME,MANAGERNAME, DIVISIONNO)';
    END sub_NewEmployee_OAI_V1;
    What could be the reason for this error? Are we missing
    something in the configuration?
    Appreciate any pointers in solving this issue.
    Thanks in advance,
    Regards,
    Murali.

    Murali,
    Where have you installed the Package EMPLOYEE_OBJ in your database?
    It sounds like you've missed this vital step.
    In iStudio...File > Export PL/SQL. Expand your subscribing Application (e.g. APPS) ... APPS > Subscribed Events, and highlight "Subscribe(EMPLOYEE_OBJ.NEWEMPLOYEE)". Press the "Browse" button, and select where you want to save the file. (e.g. d:\iStudio_Packages\XXOAI). The "XXOAI" prefix is added to the start of the created file.
    A *.sql file will be created in the directory you specified (e.g. d:\iStudio_Packages\XXOAI_APPS_EMPLOYEE_OBJ.sql).
    (Note: Ignore the empty "XXOAI_APPS_EMPLOYEE_OBJTypes.sql" file as you haven't created any new ones (i.e. NUMBER and LONG are standard))
    Login to SQL*Plus now, as the same user specified in your DB Adapter.ini file (Hint: In adapter.ini, look for the entry "db_bridge_schema1_writer_username=[Your DB User]", e.g."db_bridge_schema1_writer_username=APPS.)
    Execute the iStudio generated XXOAI_APPS_EMPLOYEE_OBJ.sql file.
    You will now have the Package EMPLOYEE_OBJ created, together with a procedure SUB_NEWEMPLOYEE_OAI_V1.
    You will notice that the DB Adapter (unless you've stopped it and cleared down any persistence files), will automatically find this new Package and Procedure, and will have updated your 'Employee' table. :-)
    Hope this helps
    Ian

  • ORA-06550 Error when Assinging values in APEX

    Hi I am running this query it runs fine in SQL developer but when I put this in a string in APEX return me error where the case staement returning values, Could you please help me in this regard
    declare
    l_query varchar2(4000) := '' ;
    begin
    l_query := 'select
    a.TIMESHEET_ID, b.LAST_NAME || '', '' || b.FIRST_NAME NAME,
    to_char(a.DAY_START,'dd/mm/yyyy hh24:mi') DAY_START,
    to_char(a.DAY_END,'dd/mm/yyyy hh24:mi') DAY_END,
    a.BREAK_IN_HOURS, round(a.TOTAL_WORK_HOURS,2) TOTAL_WORK_HOURS,
    c.DESCRIPTION Timesheet_Status,
    nvl((select sum(x.duration_hours) from eba_timesheet_detail x where a.timesheet_id = x.timesheet_id) ,0) detail_hours,
    case when round(a.TOTAL_WORK_HOURS,2) != (nvl((select sum(x.duration_hours) from eba_timesheet_detail x where a.timesheet_id = x.timesheet_id) ,0))
    then 'YES' else 'NO'
    end as inconsistent
    from EBA_TIMESHEET_HDR a, EBA_TIMESHEET_USERS b, EBA_TIMESHEET_STATUS c
    where a.USER_ID = b.ID and a.TIMESHEET_STATUS_ID = c.ID ';

    Hi,
    The ORA-06550 is error points to the location in the PL/SQL where the syntax error
    occurred and it is followed by a more descriptive message of the compile-time error:So can you give us the entire error description...?
    Or try below given script
    DECLARE
       l_query   VARCHAR2 (4000) := '';
    BEGIN
       l_query :=
          'SELECT a.timesheet_id, b.last_name || '', '' || b.first_name NAME,
           TO_CHAR (a.day_start, ''dd/mm/yyyy hh24:mi'') day_start,
           TO_CHAR (a.day_end, ''dd/mm/yyyy hh24:mi'') day_end, a.break_in_hours,
           ROUND (a.total_work_hours, 2) total_work_hours,
           c.description timesheet_status,
           NVL ((SELECT SUM (x.duration_hours)
                   FROM eba_timesheet_detail x
                  WHERE a.timesheet_id = x.timesheet_id), 0) detail_hours,
           CASE
              WHEN ROUND (a.total_work_hours, 2) !=
                     (NVL ((SELECT SUM (x.duration_hours)
                              FROM eba_timesheet_detail x
                             WHERE a.timesheet_id = x.timesheet_id), 0)
                 THEN ''YES''
              ELSE ''NO''
           END AS inconsistent
      FROM eba_timesheet_hdr a, eba_timesheet_users b, eba_timesheet_status c
    WHERE a.user_id = b.ID AND a.timesheet_status_id = c.ID';
    END;*009*
    Edited by: 009 on Apr 8, 2010 9:28 PM

  • ORA-06550 error while executing Dynamic Sql

    EXECUTE IMMEDIATE 'BEGIN :out := ' || lv_formula || '; END;' using out RESULT ;
    here lv_formula:= ((capcost * rate / 100) + (ob + (ob * interestrate / 100)))
    lv_formula is varchar2(360);
    and capcost,rate,ob & interestrate are my column names . Here I m declaring variables same as these columns and datatype is number.
    I am not getting any compilation error. syntax is correct
    while executing this sql i m getting ora-06550.
    can any one help me for resolving this error.
    Thanks In Advance
    hoping for more respose

    Thanks Billy for your response,
    but i still didn't get my desired solution so i am pasting my whole plsql code here. so that u can get better picture.
    /* Formatted on 2010/11/22 15:23 (Formatter Plus v4.8.5) */
    PROCEDURE xb (
    l_refno IN VARCHAR2,
    l_billtyp IN VARCHAR2,
    infor IN VARCHAR2,
    aresult OUT NUMBER
    IS
    --A NUMBER:=10; B NUMBER :=5;
    lv_formula VARCHAR2 (270); --:=(A+B)*2+5;
    l_agtmnt VARCHAR2 (18);
    l_type VARCHAR2 (2);
    RESULT NUMBER;
    refno afxbrmst.refno%TYPE;
    billtyp afxbrmst.billtyp%TYPE;
    ob afxbrmst.ob%TYPE;-- := 45283;
    status afxbrmst.status%TYPE -- := 0;
    dueamt afxbrmst.dueamt%TYPE -- := 0;
    duedate afxbrmst.duedate%TYPE;
    frequency afxbrmst.frequency%TYPE;
    lastrevrate afxbrmst.lastrevrate%TYPE -- := 0;
    penaltyamt afxbrmst.penaltyamt%TYPE -- := 0;
    accounted afxbrmst.accounted%TYPE;
    lastbillraised afxbrmst.lastbillraised%TYPE;
    noofstaff afxbrmst.noofstaff%TYPE;
    items afxbrmst.items%TYPE;
    area afxbrmst.area%TYPE;
    LENGTH afxbrmst.LENGTH%TYPE -- := 0;
    interest afxbrmst.interest%TYPE -- := 0;
    capcost NUMBER; afxbrmst.capcost%TYPE; :=1;
    -- := 1509432;
    periodfrom afxbrrate.periodfrom%TYPE;
    periodto afxbrrate.preiodto%TYPE;
    rcsrate afxbrrate.rcsrate%TYPE -- := 0;
    length_area afxbrrate.length_area%TYPE;
    rate afxbrrate.rate%TYPE --:= 0;
    -- :=3;
    erate afxbrrate.erate%TYPE -- := 0;
    feamount afxbrrate.feamount%TYPE -- := 0;
    interestrate afxbrrate.interestrate%TYPE -- := 0;
    -- :=12;
    fiamount afxbrrate.fiamount%TYPE --:= 0;
    penaltyrate afxbrrate.penaltyrate%TYPE -- := 0;
    l_ob afxbrmst_test.ob%TYPE -- := 0;
    l_capcost afxbrmst.capcost%TYPE -- := 0;
    raise_application_trigger EXCEPTION;
    inti INTEGER;
    BEGIN
    --break;
    lv_formula :=
    TO_NUMBER ((capcost * rate / 100) + (ob + (ob * interestrate / 100)));
    --infor;
    l_agtmnt := l_refno;
    l_type := l_billtyp;
    BEGIN
    SELECT a.refno, a.billtyp, a.ob, a.status, a.dueamt, a.duedate,
    a.frequency, a.lastrevrate, a.penaltyamt, a.accounted,
    a.lastbillraised, a.noofstaff, a.items, a.area, a.LENGTH,
    a.interest, a.capcost
    INTO refno, billtyp, ob, status, dueamt, duedate,
    frequency, lastrevrate, penaltyamt, accounted,
    lastbillraised, noofstaff, items, area, LENGTH,
    interest, capcost
    FROM afxbrmst_test a
    WHERE billtyp = l_type AND refno = l_agtmnt;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    NULL;
    END;
    BEGIN
    SELECT b.periodfrom, b.preiodto, b.rcsrate, b.length_area, b.rate,
    b.erate, b.feamount, b.interestrate, b.fiamount, b.penaltyrate
    INTO periodfrom, periodto, rcsrate, length_area, rate,
    erate, feamount, interestrate, fiamount, penaltyrate
    FROM afxbrrate b
    WHERE billtype = l_type;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    NULL;
    END;
    EXECUTE IMMEDIATE 'BEGIN :out := ' || lv_formula || '; END;'
    USING OUT RESULT; --USING OUT RESULT;
    aresult := RESULT;
    END;
    -- Procedure
    here i m passing the parameter through my form builder and calling this procedure.
    can you tell me where i am making wrong
    Thanks again

  • ORA-06550 error while executing procedure

    HI Friends,
    I have written a proc for the below process.
    SP_Control (table)
    sno     campgn_id     campgn_typ     campgn_no     current_wave
    1     ET07001     ONB     ONB01     1
    2     ET07001     ONB     CNB01     1
    3     ET03053     IAL     IAL1A     A
    4     ET03053     IAL     IAL2A     A
    5     ET03053     IAL     IAL3A     A
    6     ET03053     IAL     IAL4A     A
    After calling the procedures with bellow parameters
    Get_next_campgn(‘ONB01’,’ONB’);
    Get_next_campgn(‘CNB01’,’ONB’);
    Get_next_campgn(‘IAL1A’,’IAL’);
    Get_next_campgn(‘IAL2A’,’IAL’);
    Get_next_campgn(‘IAL3A’,’IAL’);
    Get_next_campgn(‘IAL4A’,’IAL’);
    …………… it should update the table with below data.
    sno     campgn_id     campgn_typ     campgn_no     current_wave
    1     ET07001     ONB     ONB02     2
    2     ET07001     ONB     CNB02     2
    3     ET03053     IAL     IAL1B     B
    4     ET03053     IAL     IAL2B     B
    5     ET03053     IAL     IAL3B     B
    6     ET03053     IAL     IAL4B     B
    I have written a procedure like this and its compliled successfully.
    But throws error while executing like
    execute Get_next_campgn(‘ONB01’,’ONB’);
    create or replace procedure Get_next_campgn(p_campgn varchar2,p_type varchar2)
    as
    begin
    update SP_Control set campgn_no = substr(p_campgn,1,length(p_campgn)-1)||to_char(ascii(substr(p_campgn,-1,1))+1) ,
    curr_wave = to_char(ascii(curr_wave)+1)
    where campgn_type = p_type
    and campgn_no = p_campgn ;
    exception
    when others then
    dbms_output.put_line(sqlerrm);
    end Get_next_campgn;
    Error::::
    Error starting at line 15 in command:
    execute Get_next_campgn(‘ONB01’,’ONB’)
    Error report:
    ORA-06550: line 1, column 24:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    ( ) - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table continue avg count current exists max min prior sql
    stddev sum variance execute multiset the both leading
    trailing forall merge year month day hour minute second
    timezone_hour timezone_minute timezone_region timezone_abbr
    time timestamp interval date
    <a string literal with character set specification>
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    Please suggest....

    The procedure executed successfully for me.
    drop table sp_control;
    create table sp_control
      campgn_no varchar2(20),
      curr_wave varchar2(20),
      campgn_type varchar2(20)
    insert into sp_control values ('ONB01', '1', 'ONB');
    insert into sp_control values ('IAL1A', 'A', 'IAL');
    create or replace procedure Get_next_campgn(p_campgn varchar2,p_type varchar2)
    as
    begin
    update SP_Control set campgn_no = substr(p_campgn,1,length(p_campgn)-1)||to_char(ascii(substr(p_campgn,-1,1))+1) ,
    curr_wave = to_char(ascii(curr_wave)+1)
    where campgn_type = p_type
    and campgn_no = p_campgn ;
    exception
    when others then
    dbms_output.put_line(sqlerrm);
    end Get_next_campgn;
    begin
      Get_next_campgn('ONB01','ONB');
    end;
    select * from sp_control;
    --Output as Follows:
    drop table sp_control succeeded.
    create table succeeded.
    1 rows inserted
    1 rows inserted
    procedure Get_next_campgn(p_campgn Compiled.
    anonymous block completed
    CAMPGN_NO            CURR_WAVE            CAMPGN_TYPE         
    ONB050               50                   ONB                 
    IAL1A                A                    IAL                 
    2 rows selectedJust a hunch, in the Procedure call
    execute Get_next_campgn(‘ONB01’,’ONB’);the "Single Quotes" does not appear correct. They were probably typed into some other editor.
    When executed as
    execute  Get_next_campgn(‘ONB01’,’ONB’);
    Error starting at line 1 in command:
    begin
      Get_next_campgn(‘ONB01’,’ONB’);
    end;
    Error report:
    ORA-06550: line 2, column 19:
    PLS-00103: Encountered the symbol "‘" when expecting one of the following:
       ( ) - + case mod new not null <an identifier>
       <a double-quoted delimited-identifier> <a bind variable>
       table continue avg count current exists max min prior sql
       stddev sum variance execute multiset the both leading
       trailing forall merge year month day hour minute second
       timezone_hour timezone_minute timezone_region timezone_abbr
       time timestamp interval date
       <a string literal with character set specification>
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:So, just replace them in any SQL editor and your Invoker block shall work properly.
    Regards,
    P.

  • Ora -06550 error while executing the mapping

    Hi,
    I am using owb client 11.2.0.3 . I have mapping map_emlap_src in this mapping i have import tables from different scehema and i have done one to one mapping on both the table .
    While executing the mapping i got the following error .
    ORA-06550: line 1, column 1082:
    PLS-00302: component 'MAP_EMLAP_SRC' must be declared
    ORA-06550: line 1, column 1062:
    PL/SQL: Statement ignored

    grant execute on owner_name.MAP_EMLAP_SRC to user_name;

  • Mapping with Match and Merge operater giving ORA-06550 error while deploy..

    Created a simplet mapping to source from Customer table to tstcustomer table thru' Match and Merge operator. The mapping validated successful but giving ORA-06550 line x column y error while deploying the mapping.
    It is a simple mapping consisting of source Customer table, Match and Merge operator, tstcustomer target table.
    Could anyone advise me on how to resolve this?

    The test mapping basically consists of :
    source table - sh.customers
    target table - tstcustomers (similar to sh.customers)
    Match-Merge operator.
    The mapping validation was successful but when attempt was made to deploy, its giving errors starting with ORA-06550.
    I saved the code and executed thru' SQL Plus and the error details are as follows:
    SQL> show errors;
    Errors for PACKAGE BODY MMTEST4:
    LINE/COL ERROR
    594/6 PL/SQL: Statement ignored
    594/37 PLS-00306: wrong number or types of arguments in call to 'RTRIM'
    601/6 PL/SQL: Statement ignored
    601/36 PLS-00306: wrong number or types of arguments in call to 'RTRIM'
    1017/655 PL/SQL: SQL Statement ignored
    30
    1020/27 PL/SQL: ORA-00942: table or view does not exist
    2163/6 PL/SQL: Statement ignored
    2163/43 PLS-00201: identifier 'CUSTOMERS_0_CUST_GENDER' must be declared
    2170/6 PL/SQL: Statement ignored
    LINE/COL ERROR
    2170/42 PLS-00201: identifier 'CUSTOMERS_0_COUNTRY_ID' must be declared
    2586/655 PL/SQL: SQL Statement ignored
    30
    2589/27 PL/SQL: ORA-00942: table or view does not exist
    SQL>
    For your info, the same mapping without Match-Merge Operator is getting deployed and executed successfully.
    But with Match-Merge operator, after setting Match bins, Match rules, Merge rules etc the mapping is validated successfully but errorring out while deployment.
    Pls advise on how to resolve this.
    I understand that the Match-Merge Operator gives Pl/Sql output from the documentation.
    thanks
    Naren.

  • ORA-06550:  ERROR:(((((((((((

    I did an application which is in http://www.oracle.com/technology/oramag/oracle/06-mar/o26browser.html .
    when ı did it in oracle database 10g express edition , it run but ı must show it to another people so I request a workspace from apex and then I did in it but this time it didnt run:(((( I did same things :( ı dont understand why it cant run and give error:(
    ORA-06550: line 6, column 22: PLS-00302: component 'QUESTION' must be declared ORA-06550: line 6, column 9: PL/SQL: Statement ignored ORA-06550: line 8, column 22: PLS-00302: component 'QUESTION' must be declared ORA-06550: line 8, column 9: PL/SQL: Statement ignored ORA-06550: line 10, column 22: PLS-00302: component 'QUESTION' must be declared ORA-06550: line 10, column 9: PL/SQL: Statement ignored ORA-06550: line 12, column 22: PLS-00302: component 'QUESTION' must be declared ORA-06550: line 12, column

    Apparently, DBMS_PICKLER is an undocumented internal package. From the context I geuus it's part of the Java implementation.
    I think the problem is likely to be in the Oracle 7 database. This version of Orcale supported neither Java nor arrays. Now it maybe that it's possible to do what you want in some other way (or indeed I may have the wrong end of the stick). So I think you'd better post soem more details - what it is you're trying to do and how you're going about it.
    Cheers, APC

  • ORA-00600 Error Help required

    I am getting Error ORA-00600 for a procedure which tries get
    a CLOB as output paramater. It is a simple stored proc which is
    just querying to get this data.
    However it fails at times giving ORA-00600 error which we have
    no clue why it's happening.
    There is sufficient space in the server and also we have
    restarted the database several times.
    Any pointers to why is this happening.
    Sunil

    Cause:     This is a catchall internal error message for Oracle
    program exceptions. It indicates that a process has met a low-
    level, unexpected condition.
    Various causes of this message include:
    time-outs
         file corruption
         failed data checks in memory
         hardware, memory, or I/O errors
         incorrectly restored files
    The first argument is the internal message number. Other
    arguments are various numbers, names, and character strings. The
    numbers may change meanings between different versions of the
    Oracle Server.
    Action:     Report this error to customer support after gathering
    the following information:
    -events that led up to the error
         -the operations that were attempted that led to the
    error
    -the conditions of the operating system and database at
    the time of the error
         -any unusual circumstances that occurred before
    receiving theORA-00600 message
         contents of any trace files generated by the error
         the relevant portions of the Alert file
    Copyright (C) 1995, Oracle Corporation

  • Ora-08102 - error help me out

    dear all,
    Im getting ora-8102 error
    "ORA-00604: error occurred at recursive SQL level 1
    ORA-08102: index key not found, obj# 49, file 47, block 25578 (2)" while im creating index on newly created table . I found the suggestion doc from metalink for the same. but it didn't work. because the obj#49 is the index (I_CON2) which related to table CON$. so im not able to rebuild the index as suggested in metalink.
    Im getting the same erorr for all schema even creating new table with constraints.
    Thanks
    mohan

    Why not ?Just a guess, since there is no error message from OP, Probably because:
    SQL> alter index I_CON2 rebuild ;
    alter index I_CON2 rebuild
    ERROR at line 1:
    ORA-00701: object necessary for warmstarting database cannot be altered
    SQL> disc
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    SQL>

  • Ora 12154 error help needed

    Hi,
    I am a newbie in oracle forms. I have installed oracle database 10gr2 on windows xp in c directory. In D drive i have installed oracle developer suite 10g. When i try to connect database from developer suite i receive ORA 12154 error.
    Do i need to change tnsnames.ora in developer suites 'D' directory or in database'C' directory.
    Please explain me in steps so that i can configure developer suite.
    Thank You

    Forms will use its own Tnsnames.ora file so create alias for it
    Run NetCA from
    START > PROGRAMS > ORACLE - Oracle HOME name > Configuration and Migration tools > Net Configuration Assistant
    and create Alias for Local naming
    also make sure the Listener and Database is up and running
    Baig,
    [My Oracle Blog|http://baigsorcl.blogspot.com/]

  • ORA-00054 error help

    SQL> drop table worker_hourly
    ERROR at line 1:
    ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
    create table worker_hourly
    ( wrk_id       number(3),
      wrk_perhr    number(5,2) NOT NULL,
      wrk_otrate   number(3,2),
        primary key (wrk_id),
        constraint workerexist foreign key (wrk_id)
            references worker_super(wrk_id),
        constraint validot check (wrk_otrate < 2.5))
    insert into worker_hourly values (333,19.75,NULL)
    insert into worker_hourly values (444,15.45,1.5)
    /im trying to drop this table and start it up again but its showing up that error, how can i fix it, i've never encountered it before

    Either you're not giving the full picture here, or you missed:
    (issued from the session that has an outstanding transaction on your table) So:
    -Are you capable of indentifying sessions that lock 'your' table? (Any tool available?)
    -Do you have a DBA around you can ask?
    -Database version?
    -acces to datadictionary views like V$LOCK amnd V$LOCKED_OBJECT
    -is this a development or a production problem? (I think it's a development problem)
    any other suggestions???Give the full picture here, instead of letting us 'fire guesses at you'.
    That's like walking down 'Cumbersome Avenue'.

  • ORA 01438 error help

    Hi: I am using a different vendor's binary client to update in oracle 9.2.0.6. I am having difficulty figuring out which field is it having problem with. The client is trying to do an update. Since it's a binary client, I can't see the actual update command. Following is the error.
    ==============
    Fri Jul 29 16:54:08 2005: E-UNK-000-000: Oracle Error: [ORA-01438: value larger than specified precision allows for this colum] - sqlcode[-1438] Fri Jul 29 16:54:08 2005: E-UNK-000-000: Thread 'StatusTableUpdProcThread': Failed to send batch to Oracle database, due to an unknown error. Aborting the operation.
    ==============
    Any suggestions?
    Thanks
    Ravi

    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96524/c18trigs.htm#8287
    http://asktom.oracle.com/pls/ask/f?p=4950:8:6132787188731396225::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:871003242230
    Its a type of trigger that will be invoked by Oracle whenever you establish a new connection to the database. Within the body of this trigger, you could EXECUTE IMMEDIATE sql_trace to TRUE to enable trace for that session.

  • ORA-12505 error help needed

    I have 10g on my laptop and tyring to connect to my local db on Laptop via TOAD and gives me error ORA-12505.
    here is my TNSNAMES.ORA file:
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    EZAUDIT.2020LLC.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2020-5056)(PORT = 1521))
    (CONNECT_DATA =
    (SID = EZAUDIT)
    here is my LISTENER.ORA file:
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 2020-5056)(PORT = 1521))
    "2020-5056" is my hostname of laptop.
    "EZAUDIT" is my SID name, which is the local DB name.
    Don't know what's going on. It was working fine for last 2 months, all of a sudden last 3-4 days i am having this issue. My Listener name is "LISTENER"
    If I change the SID = EZAUDIT to SERVICEf_NAME = EZAUDIT in my TNSNAMES.ORA file then the error I get is ORA-12514. Don't know what the issue. Please let me know ASAP, have to finish the project by next week.
    APPRCIATE your hlp.
    THANKS,
    Kas

    result of the lsnrctl services:
    C:\>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-JUL-2006 12:27
    :59
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=2020-5056)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    SQLNET.ORA file:
    # sqlnet.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    Thanks,
    Kas

  • ORA-06550

    Hi Friends
    I am facing a problem, it executing an running and in use procedure. It works fine on Oracle 7. While compiling the same on Oracle 9i (9.2.0.1.0) it gives ORA-06550 error.
    I have re-written the same, it won't help
    Please help me with the same
    Following is the procedure and error.
    create or replace procedure basnew as
    cursor c574 is
    select empnumber empno,cca bas
    from ccaamt;
    begin
    for r574 in c574 loop
    update t_mpy_other_monthly_earnings
    set
    alw_rate = r574.bas,
    alw_paid = r574.bas
    where
    empnumber = r574.empno and
    alw_code = '235';
    end loop;
    end;
    exec basnew
    SQL> exec basnew
    BEGIN basnew; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00905: object AIPAY.BASNEW is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Thanks

    Are you getting any error while compiling this procedure from sql*plus?. The error message says your trying to execute an invalid procedure, meaning not compiled successfully. Try running from sql*plus and type Show Error and paste the error here, so that some body would help you out. following are the results when i run your code on my db
    SQL> create or replace procedure basnew as
    2 cursor c574 is
    3 select empnumber empno,cca bas
    4 from ccaamt;
    5 begin
    6 for r574 in c574 loop
    7 update t_mpy_other_monthly_earnings
    8 set
    9 alw_rate = r574.bas,
    10 alw_paid = r574.bas
    11 where
    12 empnumber = r574.empno and
    13 alw_code = '235';
    14 end loop;
    15 end;
    16 /
    Warning: Procedure created with compilation errors.
    SQL> show error
    Errors for PROCEDURE BASNEW:
    LINE/COL ERROR
    3/1 PL/SQL: SQL Statement ignored
    4/6 PL/SQL: ORA-00942: table or view does not exist
    7/1 PL/SQL: SQL Statement ignored
    7/8 PL/SQL: ORA-00942: table or view does not exist
    SQL> exec basnew
    BEGIN basnew; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00905: object STARCAS.BASNEW is invalid
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    SQL>

Maybe you are looking for

  • ICloud Drive causing timeouts and disconnects when uploading

    It seems that iCloud Drive is set to use the maximum upload bandwidth possible when adding files to it.  I have a home internet connection with fairly limited upload bandwidth (1Mbps - Time Warner Cable apparently doesn't think there is any need for

  • Vista upgrade on 24" imac to play Halo 2?

    Hi, Ijust tried posting in the Windows section but the site is down so i'll post here if that's ok? I have a full version of Windows XP installed on my 24" imac and it runs fine. I now hve a Windows Vista upgrade disc and was wondering if i can use t

  • *** I need to pull back just one record when more than one is listed.... **

    I have two (or more sometimes), there is a field called POC_type and then the POC_name, the POC_Name is different, but the rest of the records are the same, I only want to pull back the first record so I onlist one POC_Type, Name, ... Below is the co

  • Register communication channel for monitoring

    Hi Experts, Need a quick help. Please let me know how to add a communication channel to the list of channels under communication channel monitoring in adapter engine in RWB? Thanks, Dhawal

  • Problems with Tempfiles

    Hi I'm using Oracle 10g Release 2 and when I backup the database I drop the tempfiles because they grow to much. Most of times I have files biggers then 30GB. I'm using the following script to do this: alter database tempfile 'D:\database\TEMP_01.DBF