SQLERRM: ORA-29913: error in executing ODCIEXTTABLEOPEN callout

SQLERRM: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-00554: error encountered while parsing access parameters
KUP-01005: syntax error: found "minussign": expecting one of: "binary_double, binary_float, comma, char, date, defaultif, decimal, double, float, integer, (, nullif, oracle_date, oracle_number, position, raw, recnum, ), unsigned, varrawc, varchar, varraw, varcharc, zoned"
KUP-01007: at line 8 column 4
Here is my script
CREATE OR REPLACE DIRECTORY NO_STOCK_log_dir
AS 'c:\starpubs\starpubs\dataformats\logs\NO_STOCK\log';
CREATE OR REPLACE DIRECTORY NO_STOCK_bad_dir
AS 'c:\starpubs\starpubs\dataformats\logs\NO_STOCK\bad';
create table ext_NO_STOCK_table (
ACCT varchar(5),
SUBACCOUNT char(1),
ITEM_NO varchar(6),
PROCESS_DATE varchar(6),
ORDER_QTY     integer
organization external
type oracle_loader
default directory user_dir
access parameters
records delimited by newline
badfile NO_STOCK_bad_dir:'NO_STOCK%a_%p.bad'
logfile NO_STOCK_log_dir:'NO_STOCK%a_%p.log'
fields
MISSING FIELD VALUES ARE NULL
ACCT (1:5) char(5),
SUBACCOUNT (6:6) char(1),
ITEM_NO (21:26) char(6),
PROCESS_DATE (30:35) char(6),
ORDER_QTY (37:41) integer external
location('NOSTOCK')
reject limit unlimited;
NOSTOCK data file is:
E2247 477265 110120 00001

a minus qualifies as a special character and can not be used in identifiers unless you embed the identifier in double quotes.
Error messages are documented. You could and should have looked this up yourself.
Your question is redundant and a violation of Forums Etiquette.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • SQL Error: ORA-29913: error in executing ODCIEXTTABLEOPEN callout

    Dear Friends,
    I executed the following stmsts:
    1)CREATE OR REPLACE DIRECTORY TEST_DIR AS 'd:\mydata';
    2)GRANT READ, WRITE ON DIRECTORY TEST_DIR TO wonders_mumbai1;
    3)CREATE TABLE ext_tab18 (
    old_cust VARCHAR2(8),
    new_cust VARCHAR2(8)
    ORGANIZATION EXTERNAL (
    TYPE oracle_loader
    DEFAULT DIRECTORY TEST_DIR
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY NEWLINE
    BADFILE TEST_DIR:'bad-upload.bad'
    LOGFILE TEST_DIR:'log_upload.log'
    FIELDS TERMINATED BY ','
    OPTIONALLY ENCLOSED BY '"'
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL FIELDS
    (old_cust,new_cust))
    LOCATION ('datafile1.csv')
    REJECT LIMIT 0
    NOMONITORING;
    4)SELECT * FROM ext_tab18;
    1 -3 execute successfully.
    4 throws up the error:
    Error starting at line 1 in command:
    SELECT * FROM ext_tab18
    Error report:
    SQL Error: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file log_upload.log
    OS error The system cannot find the file specified.
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    29913. 00000 - "error in executing %s callout"
    *Cause: The execution of the specified callout caused an error.
    *Action: Examine the error messages take appropriate action.
    What is to be done?

    Hi,
    Yes if I put it on the server it works.
    But if I put the file on the client in a shared folder and put the ip address as below:
    10.97.140.59\mydata
    it doesn't work.
    So it seems that this will work if the file is on the server and not on any client.
    If that be the case then it is a definite disadvantage.
    thanks for ur reply.

  • ERROR at line 1: ORA-29913: error in executing ODCIEXTTABLEOPEN callout ORA

    Hi,
    i am using external tables for fetching values from text file
    1)
    create or replace directory XTERN_DATA_DIRTEST
    as 'E:\test';
    2)
    create table xtern_countrytest
    COUNTRYNAME VARCHAR2(200)
    organization external
    ( default directory XTERN_DATA_DIRtest
    access parameters
    records delimited by '|$|'
    fields terminated by '|#|'
    MISSING FIELD VALUES ARE NULL
    location ('Country.txt')
    when i execute
    select * from xtern_countrytest am gettng following error
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04040: file Country.txt in XTERN_DATA_DIRTEST not found
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    FYI,i have granted access,file is present at location,same thing works in development environment,but this error is happening in live server,
    can any one has a idea about this,its urgent

    sybrand_b wrote:
    Hi,
    Welcome to the forums.
    First of all I must remind you this is not a free support forum. Also everyone here is volunteer.
    This means using words like 'urgent' and 'asap' is usually considered inappropriate as there is paid support.
    In your transcript I notice you have no
    grant read, write directory on XTERN_DATA_DIRTEST
    I also notice in your external table definition your location directive appears to be incomplete
    It should be
    location(XTERN_DATA_DIRTEST:'Country.txt')
    Hth
    Sybrand Bakker
    Senior Oracle DBASybrand
    He doesn't need to write "location(XTERN_DATA_DIRTEST:'Country.txt')" because he sets the default directory:
    ( default directory XTERN_DATA_DIRtest
    access parameters
    user 854436,
    Please check MOS [ID 150737.1]: ORA-29913 ORA-29400 KUP-04040 While Selecting from External Table
    Regards
    Gokhan

  • Exception: ORA-29913: error in executing ODCIEXTTABLEFETCH callout ORA-3065

    Dear Experts,
    Need your help. We export data from oracle 11g database and import into oracle 10g database.
    We have created external tables with same DDL in both export and import schema.
    we are able generate datadump files at export side successfuly. However, when we try to query the datadump files at import side we are getting following error:
    Exception: ORA-29913: error in executing ODCIEXTTABLEFETCH callout ORA-30653: reject limit REACHED
    In the external table definition we have defined the reject limit as zero as we don't want any records to be rejected.
    This issue occurred after we deployed the fix for an issue, which is -> In one of the table we store the xml of the modified record of some core table. And if the records contains control characters [ chr(0) to chr(31), expect chr(9), chr(10) and chr(13) ] then xml fails to validate and our export failed.
    To fix it, we added the code to set the event at the start of the export rountine using command:
    /*Replace the erroneous character with corresponding character reference*/
    EXECUTE IMMEDIATE 'ALTER SESSION SET events = ''19119 trace name context forever, level 0x200000''';
    After this, the export worked fine but import failed.
    I have no clue what this error message is suggesting, expect the reject limit thing which I can't set to unlimited.
    I would be grateful to have your comments on this. Please let me know if you need futher information.
    Many Thanks

    Hi,
    What happens if you set that event on the importing side too?
    Is there no other way to remove the speical characters - can you not use functions against the xml string directly in the routine that populates the external table - why are you using the event?
    Cheers,
    Harry

  • Ore.neural throws ORA-29913: error in executing ODCITABLESTART callout

    Hi,
    We are using ORE 1.3 and server version 11.2.0.3.0 on an Oracle Linux box.
    I was trying to do simple neural network from ORE and received the below error:
    OREtrain2 <- ore.push(train2)
    dt.mod <- ore.neural(ACTION ~ ., data = OREtrain2)Error in .oci.GetQuery(conn, statement, data = data, prefetch = prefetch, :
    ORA-29913: error in executing ODCITABLESTART calloutI have researched it on Oracle forums and it seems there was a bug throwing the same error message prior to 11.2.0.3 and another one with Solaris installations of ORE 1.1, but neither of these explains why this happens in or case.
    Thanks,
    Zoltan
    Edited by: user2548497 on Jun 2, 2013 1:13 PM
    Edited by: user2548497 on Jun 2, 2013 1:14 PM

    Hi Zoltan,
    What are the data types of your data? This first release of ore.neural supports numerical data.
    Regards,
    Mark

  • ORA-29913: error in executing ODCITABLEDESCRIBE callout

    Hi,
    Database is 11.2.0.3 Solaris SPARC with R 2.13.2 and ORE installed.
    When executing last example from page 39: http://www.oracle.com/technetwork/database/options/advanced-analytics/r-enterprise/ore-trng4-embeddedrscripts-1501638.pdf
    select *
    from table(rqTableEval(
    cursor(select ARRDELAY, DISTANCE, DEPDELAY
    from ontime_s
    where year = 2003
    and month = 5
    and dayofmonth = 2),
    cursor(select 1 max1, 1 pos1, 'mod' name1,
    to_number(null) max2, to_number(null) pos2,
    to_char(null) name2, total, chunk, value
    from ontime_lm),
    'select ARRDELAY, DISTANCE, DEPDELAY, 1 PRED from ontime_s',
    'R_TEST_Example3'))
    order by 1, 2, 3;
    select *
    ERROR at line 1:
    ORA-29913: error in executing ODCITABLEDESCRIBE callout
    What could be a problem?
    Regards,

    Yes, it is 11.2.0.3.4 on Solaris 10 SPARC:
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE 11.2.0.3.0 Production
    TNS for Solaris: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    and excerpt from opatch lsinventory:
    Patch description: "Database Patch Set Update : 11.2.0.3.4 (14275605)"
    Sub-patch 13923374; "Database Patch Set Update : 11.2.0.3.3 (13923374)"
    Sub-patch 13696216; "Database Patch Set Update : 11.2.0.3.2 (13696216)"
    Sub-patch 13343438; "Database Patch Set Update : 11.2.0.3.1 (13343438)"
    I just confimed I have the same error on another box with base 11.2.0.3.0 (no patches) database installed on Solaris 10 x64.
    Thank you.

  • ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTAB

    Hello All,
    I am using Oracle 11.2.0.3
    in my alert logs I found the below errors:
    ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    KUP-11024: This external table can only be accessed from within a Data Pump job.to resolve that i did the below steps:
    SELECT owner_name, job_name, operation, job_mode,
    state, attached_sessions
    FROM dba_datapump_jobs
    WHERE job_name NOT LIKE 'BIN$%'
    ORDER BY 1,2; the result was that there is two running jobs and the attached_session flag was equal to 1, something like the below:
    OWNER_NAME JOB_NAME            OPERATION JOB_MODE  STATE       ATTACHED
    SCOTT      SYS_IMPORT_TABLE_05      IMPORT TABLE RUNNING        1
    SCOTT      SYS_IMPORT_TABLE_01 IMPORT TABLE     RUNNING        1 so i stopped these 2 jobs using the below statements:
    SET serveroutput on
    SET lines 100
    DECLARE
       h1 NUMBER;
    BEGIN
       h1 := DBMS_DATAPUMP.ATTACH('SYS_IMPORT_TABLE_05','SCOTT');
       DBMS_DATAPUMP.STOP_JOB (h1);
    END;
    SET serveroutput on
    SET lines 100
    DECLARE
       h1 NUMBER;
    BEGIN
       h1 := DBMS_DATAPUMP.ATTACH('SYS_IMPORT_TABLE_01','SCOTT');
       DBMS_DATAPUMP.STOP_JOB (h1);
    END;
    /now the result become like below as stop pending in the state column:
    OWNER_NAME JOB_NAME            OPERATION JOB_MODE  STATE       ATTACHED
    SCOTT      SYS_IMPORT_TABLE_05      IMPORT TABLE STOP PENDING 1
    SCOTT      SYS_IMPORT_TABLE_01 IMPORT TABLE     STOP PENDING 1 for that I did more research and i dropped two temporary external tables after I got their names using the below query:
    select OWNER,OBJECT_NAME,OBJECT_TYPE, status,
    to_char(CREATED,'dd-mon-yyyy hh24:mi:ss') created
    ,to_char(LAST_DDL_TIME , 'dd-mon-yyyy hh24:mi:ss') last_ddl_time
    from dba_objects
    where object_name like 'ET$%'
    /but nothing changed in the output of the below query, the state stayed STOP PENDING
    SELECT owner_name, job_name, operation, job_mode,
    state, attached_sessions
    FROM dba_datapump_jobs
    WHERE job_name NOT LIKE 'BIN$%'
    ORDER BY 1,2; for that I used stop job but with the immediate flag as 1
    DBMS_DATAPUMP.STOP_JOB (h1,1); now the result of the query is NOT RUNNING in the state column:
    OWNER_NAME JOB_NAME            OPERATION JOB_MODE  STATE       ATTACHED
    SCOTT      SYS_IMPORT_TABLE_05      IMPORT TABLE     NOT RUNNING   0
    SCOTT      SYS_IMPORT_TABLE_01      IMPORT TABLE     NOT RUNNING   0 and I discovered that one of my import jobs that I did not realize that it was running, failed due to a fatal error, it is the one related to the import of one table.
    My question:
    Now the below query should return zero records no ?
    How i can clear the result ? and does it affect any future import jobs for the same table?
    SELECT owner_name, job_name, operation, job_mode,
    state, attached_sessions
    FROM dba_datapump_jobs
    WHERE job_name NOT LIKE 'BIN$%'
    ORDER BY 1,2;

    hi just drop all tables that return be the query below i face some issue after 1 months
    SQL> select owner, TABLE_NAME, DEFAULT_DIRECTORY_NAME, ACCESS_TYPE
    from dba_external_tables
    this error appear due to this table must be cleanup auto when the datadump complete the job ,but it's not dropped as well so when gather statistics this error appear,
    so this drop table .

  • ORA-29913: error in executing  callout

    Hello, everybody
    I have some strange problem when I try to select data from an external table. The table has about 500'000 rows and select from it fetches about 200'000 rows normally and then throws the subj. message. ORA-299913 usually has name of the specific callout and is accompanied by the second message explaining the root cause, but in this case it does not have either - callout name is empty and there is no secondary error.
    It feels like it hits a bad record mid-file and crashes, but the table organization is datapump and it's exported by using identical table definition from another Oracle instance of the same version ( 10.2.0.2.0 ).
    I would really appreciate any ideas why it could happen. I tried to Google it but apparently no one encountered such situation yet.
    Thank you
    Rita

    It feels like it hits a bad record mid-file and crashes, but the table organization is datapump and it's exported by using identical table >definition from another Oracle instance of the same version ( 10.2.0.2.0 ).
    29913, 00000, "error in executing %s callout"
    // *Cause: The execution of the specified callout caused an error.
    // *Action: Examine the error messages take appropriate action.I understand you stated callout was blank, so file Service Request with Oracle.

  • SQL Error: ORA-29902: error in executing ODCIIndexStart() routine

    I am running a SDO_RELATE operation on 2 geometries from 2 different tables. Spatial indexes are already created and the tables are also versioned.
    Below is the spatial meta data for both the geometries in user_sdo_geom_metadata table:
    DIMINFO is :
    MDSYS.SDO_DIM_ELEMENT(MDSYS.SDO_DIM_ELEMENT(Easting,0,700000,0.001),MDSYS.SDO_DIM_ELEMENT(Northing,0,1300000,0.001),MDSYS.SDO_DIM_ELEMENT(Height,-100,2000,0.001))
    SRID is 27700
    When I use SDO_RELATE or ADO_ANYINTERACT on both the geometires, i am getting the below error.
    Error report:
    SQL Error: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13243: specified operator is not supported for 3- or higher-dimensional R-tree
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 333
    29902. 00000 - "error in executing ODCIIndexStart() routine"
    *Cause:    The execution of ODCIIndexStart routine caused an error.
    *Action:   Examine the error messages produced by the indextype code and
    take appropriate action.
    Could you please let me know what should be the root cause for this issue?

    Hi
    Have you checked this posting?
    Re: ORA-13243
    Luc

  • ORA-29902: error in executing ODCIIndexStart() routine

    Hi,
    I have a problem with my text mining application.
    when I start the classification procedure I get the following errors
    Error executing statement: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drcs_query
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at "CTXSYS.DRVODM", line 676
    ORA-01426: numeric overflow
    ORA-06512: at line 1
    After closing and restarting the SQL Navigator, most times it works again, but not every time.
    Here is the procedure I use:
    PROCEDURE sp_classify
    IS
    vc2_sqlcommand VARCHAR2(1000);
    guete DBMS_SQL.number_table;
    branche DBMS_SQL.varchar2_table;
    BEGIN
    vc2_sqlcommand := 'ALTER TABLE ergebnisse MOVE TABLESPACE xxx;
    execute IMMEDIATE vc2_sqlcommand;
    n_matchscore := 20;
    INSERT INTO ergebnisse
    SELECT rt.cat_id, pt.produktions_id, match_score(1) AS MatchScore
    FROM produktionsdaten pt, trainingsregeln rt
    WHERE matches ( rt.rule, pt.geschaeftsgegenstand, 1) > n_matchscore;
    COMMIT;
    vc2_sqlcommand :=
    'CREATE INDEX I_ERG_PRODID ON ERGEBNISSE ' ||
    '( PRODUKTIONS_ID ASC ) ' ||
    'TABLESPACE XXX' ||
    'STORAGE ( INITIAL 64K ' ||
    'NEXT 64K ' ||
    'PCTINCREASE 0 ' ||
    execute IMMEDIATE vc2_sqlcommand;
    Please help me
    Greetz Steffi Schweppe
    Message was edited by:
    user634781

    I agree with Omar, However if you want to search using special character, you may want to look into the following example. I am not saying this may be a solution for you, however this may give you a start on how to deal with special character in you search.
    In our enviroment we have "N" number of Science & Pharmacy & Chemical clients. They need the ability to search using special character for that we have done the following..
    begin
    select user into v_username from dual;
    ctx_ddl.create_preference('orc_CTX_WLPREF', 'BASIC_WORDLIST');
    ctx_ddl.set_attribute('orc_CTX_WLPREF','SUBSTRING_INDEX','TRUE');
    ctx_ddl.set_attribute('orc_CTX_WLPREF','WILDCARD_MAXTERMS','2559');
    ctx_ddl.Create_Preference('orc_LEXER','BASIC_LEXER');
    ctx_ddl.Set_Attribute('orc_LEXER', 'index_themes', 'FALSE');
    ctx_ddl.set_attribute('orc_LEXER','printjoins','0123456789%,./?;:<>[]{}\|+=-_()*&^$#@!''"%');
    end;
    And then siply create the index as follow..
    create index index_name on activitylog(columnname)
    indextype is ctxsys.context
    parameters ('Wordlist CYBERLAB_CTX_WLPREF lexer CYBERLAB_LEXER memory 48M');
    then I am able to do something like the following..
    select count(*) from ACTIVITYLOG where contains (DESCRIPTION, '<%.htm@') > 0;
    hope this helps..

  • ORA-20001: ORA-29902: error in executing ODCIIndexStart() routine

    Hi, everyone!
    I have an error as follow:
    ORA-20001: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-06553: PLS-123: program too large
    I can get the sql where the procedure through the error, and execute the sql in sqlplus, no error. Does anyone have experience with the error? or have some direction to solve problem? thank you!
    My oracle version is 9.2.0.8.0 and sdo version is 9.2.0.8.0, too.

    I agree with Omar, However if you want to search using special character, you may want to look into the following example. I am not saying this may be a solution for you, however this may give you a start on how to deal with special character in you search.
    In our enviroment we have "N" number of Science & Pharmacy & Chemical clients. They need the ability to search using special character for that we have done the following..
    begin
    select user into v_username from dual;
    ctx_ddl.create_preference('orc_CTX_WLPREF', 'BASIC_WORDLIST');
    ctx_ddl.set_attribute('orc_CTX_WLPREF','SUBSTRING_INDEX','TRUE');
    ctx_ddl.set_attribute('orc_CTX_WLPREF','WILDCARD_MAXTERMS','2559');
    ctx_ddl.Create_Preference('orc_LEXER','BASIC_LEXER');
    ctx_ddl.Set_Attribute('orc_LEXER', 'index_themes', 'FALSE');
    ctx_ddl.set_attribute('orc_LEXER','printjoins','0123456789%,./?;:<>[]{}\|+=-_()*&^$#@!''"%');
    end;
    And then siply create the index as follow..
    create index index_name on activitylog(columnname)
    indextype is ctxsys.context
    parameters ('Wordlist CYBERLAB_CTX_WLPREF lexer CYBERLAB_LEXER memory 48M');
    then I am able to do something like the following..
    select count(*) from ACTIVITYLOG where contains (DESCRIPTION, '<%.htm@') > 0;
    hope this helps..

  • ORA-29913: error al ejecutar la llamada de ODCIAGGREGATEMERGE

    Why I can create this view on 11g and i receive this error on 10g?
    SQL> CREATE MATERIALIZED VIEW SGPCVM_PARCELAS
       2  NOCACHE NOPARALLEL BUILD IMMEDIATE
       3  USING INDEX TABLESPACE PERSPECTIVAS_IDE_I PCTFREE 0
       4  REFRESH ON DEMAND COMPLETE USING ENFORCED CONSTRAINTS
       5  DISABLE QUERY REWRITE  AS SELECT /*+ index(R SGPC_RECINTOS_PK)  index(RG SG
    PC_RECINTOS_GEOM_PK) */
       6      R.CD_PROVINCIA,
       7      R.CD_MUNICIPIO,
       8      R.CD_POLIGONO,
       9      R.CD_PARCELA,
      10      SDO_AGGR_UNION(SDOAGGRTYPE(RG.SD_GEOM,0.0005)) AS SD_GEOM,
      11      SUM(RG.NU_SUPERFICIE) AS NU_SUPERFICIE,
      12      SUM(RG.NU_SUPERFICIE_ADM) AS NU_SUPERFICIE_ADM,
      13      SUM(RG.NU_PERIMETRO) AS NU_PERIMETRO
      14  FROM EQ_SIGPAC_IDE.SGPCD_RECINTOS R,
      15      EQ_SIGPAC_IDE.SGPCD_RECINTOS_GEOM RG
      16  WHERE R.IU_FH_BAJA_RECINTO IS NULL
      17      AND R.ID_RECINTO_GEOM = RG.ID_RECINTO_GEOM
      18  GROUP BY CD_PROVINCIA, CD_MUNICIPIO, CD_POLIGONO, CD_PARCELA;
         SDO_AGGR_UNION(SDOAGGRTYPE(RG.SD_GEOM,0.0005)) AS SD_GEOM,
    ERROR en línea 10:
    ORA-29913: error al ejecutar la llamada de ODCIAGGREGATEMERGE

    Puede deberse a que tienes otra instalación previa desinstalada o no. El instalador comprueba varios archivos y si detecta cree encontrar información sobre una instalación previa, no prosigue.
    Intenta de todos modos desde el Panel de Control si estas en Windows, desinstalar el instalador de Adobe, de paso comprueba que no tengas una instalación anterior, reinicia el ordenador, e intenta todo de nuevo.

  • ORA-29902 Error when executing context query

    We sometimes get the following error when executing a search based on keywords entered by a user:
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Error generating context stmt ORA-29902: error in executing ODCIIndexStart() routine ORA-20000: interMedia Text error: DRG-50901: text query <HR></BLOCKQUOTE>
    A demonstration of the error can be seen by going to the main
    http://technet.oracle.com technet page and then performing a site search. Type in any of the following search phrases:
    Oracle and not Microsoft
    not Microsoft
    and database
    In my brief experimentation, the presence of any of
    not, and, or
    at the beginning of the keywords, or next to each other 'and not' within the keywords set causes the above oracle error.
    OK, I could train the users not to do this, but with the potential for every net user on the planet using my site, it might take me some time to speak to all of them.
    So how do I stop Intermedia from throwing up the error? I have written a quick parser to try to strip out offending entries, but that is not, imho, a good solution, as I do not know all the rules that will break it.
    tia

    You need to write a text query parser. Check the Query Translator code samples from http://technet.oracle.com/sample_code/products/text/content.html

  • 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-01722: Error while executing query in Query Designer

    Hi All;
    I am getting the below error while executing a query
    ORA-01722: invalid number
    Error reading the data of InfoProvider
    Error while reading data; navigation is possible
    Have anyone encountered this before? How do i resolve this?
    Thanks!
    ~ Arun KK

    Hi,
    Did you checked all the setting required to run this query are present in the Qualtiy system??
    Which means all the characteristics,key figures are in active state.
    Also all the cubes are in active state with no issues with the involved in the dimensions used for the query.
    Also do a check in the query and if you have authorization try to save the same query and execute the saved one again in quality and see if the same error happens again.
    Thanks
    Ajeet

Maybe you are looking for

  • How to fill the data in JTable at runtime

    Hi all, I am having a JButton and also a JTable. Now my problem is that intitially am setting the value of each column in the table to zero. But when I click the JButton i have to fill the JTable with all the new values. Please hepl me out solving th

  • Can't find iTunes Library on external drive after iTunes 8 install

    My music library (50GB) has always been on an external drive. After installing iTunes 8 I went to preferences to change from default to this drive but nothing showed up. The complete library is still on the disk. Tried reinstalling V 7 but still no l

  • Team invitation email not getting through?

    I have a team and have invited users to seats that I have purchased but they are not getting the invitation emails. I have tried Adobe support on the phone but I dont have two days spare to stay on hold and then be cut off!

  • SAP ISU datamodeling and BW

    Hello Guru's, I am new to SAP ISU , can any help me with BW integrations of SAP ISU. Like IS-U data model and standard industry processes, how BW is different in SAP ISU landscape. what are the function modules used for metering and billing module. A

  • PDF.js removing PDF security

    I am facing similar problems as discussed in the below mentioned forum post https://support.mozilla.org/en-US/questions/1014746 PDF.js is not considering the enabled PDF security. The functionality what i want to achieve is to control the print to fi