HTMLDB ora-01741

I have a developer who is working with breadcrumbs. Whe she clicks on the button next to 'Orphaned Breadcrumb Entries' I get this error in my alert log: ora-00604 error occurred at recursive sql level 2 ora-01741 illegal zero-length identifier. She gets the ora-01741 error on her screen.
Does anyone know what is going on here? I haven't been able to find anything on metalink nor google.
Thanks

Is there a patch for the bug or a work around?
We are running 2.0.0.00.49 and 9.2.0.4 (db)
We monitor our alert.log and it can throw a ton of errors and just about wear my pager out.

Similar Messages

  • Ora-01741 in query builder

    hi,
    i'm getting an oracle error in query builder that i'm hoping someone could explain. i used query builder to build a simple query without issue. i saved it and i was able to retrieve query again and get the data. here's the query that was saved......
    select AUDIT_EVENT.ENTITY_NAME as ENTITY_NAME,
    AUDIT_MGMT_PROVISIONING.OWNER_NAME as OWNER_NAME,
    AUDIT_EVENT.ENTITY_TYPE as ENTITY_TYPE,
    AUDIT_EVENT.ACTION as ACTION,
    AUDIT_EVENT.TIMESTAMP as TIMESTAMP,
    AUDIT_EVENT.INITIATOR_NAME as INITIATOR_NAME,
    PUTPERSON_SN.SN as SN,
    PUTPERSON_GIVENNAME.GIVENNAME as GIVENNAME
    from PUTPERSON_SN PUTPERSON_SN,
    PUTPERSON_GIVENNAME PUTPERSON_GIVENNAME,
    ITIMACCOUNT_OWNER ITIMACCOUNT_OWNER,
    AUDIT_MGMT_PROVISIONING AUDIT_MGMT_PROVISIONING,
    AUDIT_EVENT AUDIT_EVENT
    where AUDIT_EVENT.ID=AUDIT_MGMT_PROVISIONING.EVENT_ID
    and AUDIT_EVENT.INITIATOR_DN=ITIMACCOUNT_OWNER.OWNER
    and ITIMACCOUNT_OWNER.OWNER=PUTPERSON_GIVENNAME.DN
    and ITIMACCOUNT_OWNER.OWNER=PUTPERSON_SN.DN;
    the problem arise when i drop table PUTPERSON_SN and rebuild it. i rebuild it with the exact structure and data as before. but when i go back into htmldb and run the saved query, this is the query that i got back and i got the error ora-01741. notice the table PUTPERSON_SN is missing and the whole where clause is gone. could someone explains what could be happening? it seems as though query builder is aware PUTPERSON_SN got dropped and the rebuild table isn't the same even though the structure and data are the same. does query builder or htmldb somehow keeps track of the object_id in the database? thanks
    select     "AUDIT_EVENT"."ENTITY_NAME" as "ENTITY_NAME",
         "AUDIT_MGMT_PROVISIONING"."OWNER_NAME" as "OWNER_NAME",
         "AUDIT_EVENT"."ENTITY_TYPE" as "ENTITY_TYPE",
         "AUDIT_EVENT"."ACTION" as "ACTION",
         "AUDIT_EVENT"."TIMESTAMP" as "TIMESTAMP",
         "AUDIT_EVENT"."INITIATOR_NAME" as "INITIATOR_NAME"
    from     "" "",
         "PUTPERSON_GIVENNAME" "PUTPERSON_GIVENNAME",
         "ITIMACCOUNT_OWNER" "ITIMACCOUNT_OWNER",
         "AUDIT_MGMT_PROVISIONING" "AUDIT_MGMT_PROVISIONING",
         "AUDIT_EVENT" "AUDIT_EVENT"

    Just wanted to let you know that Bug 5347850 has been logged for this problem.

  • ORA-01741: illegal zero-length identifier

    Hi Friends,
    I am facing a weird situation while creating a report with region having type as SQL Query(PL/SQL function body returning SQL Query).
    I have a package function which takes 4 parameters and returns a SQL query in a varchar2 variable.
    Now when I have the following code in my region source and on applying changes is showing ORA-01741: illegal zero-length identifier
    DECLARE
    l_query VARCHAR2 (5000);
    BEGIN
    SELECT apx_dashboard_pkg.f_int_monthly_grid (:p5_1, :p5_2, :p5_3, :p5_4)
    INTO l_query
    FROM DUAL;
    RETURN l_query;
    END;
    If I change my code as below by passing values and run, then it does the job perfect.
    DECLARE
    l_query VARCHAR2 (5000);
    BEGIN
    SELECT apx_dashboard_pkg.f_int_monthly_grid(200712,
    'IC',
    3,
    'AVARO'
    INTO l_query
    FROM DUAL;
    RETURN l_query;
    END;
    I have no clue where I am doing wrong.
    Please help me.
    Thanks,
    Raj.

    Thanks guys for your responses.
    Varad,
    I have tried with 'Generic Column Names' and it worked wonderfully.
    Scott,
    I would definitely consider your point because it might be the reason for erroring out in some of my pages in the application.
    Thanks a lot.

  • 1.1.1.25.14 - Opening connection throws ORA-01741

    Win XP SP2,
    Java 1.6-b105
    Oracle 9iR2 databases
    Clean install of sql dev into new directory
    I did a settings import from 1.1 and use IDE_USER_DIR to override the default folder.
    When connecting to a database setup with , I receive an ORA-01741 (illegal zero-length identifier) error. This can be clicked away and all is well. Just wondering if anyone else has seen this and if there is a way to fix it.
    Eric

    Thanks, Kris. It didn't work until I also included IncludeConfFile  sqldeveloper-debug.conf in the config file.
    Here is the output in question:
    INFO     246     0     oracle.dbtools.db.DBUtil     Prepared:alter session set NLS_NUMERIC_CHARACTERS=""
    INFO     247     10     oracle.dbtools.db.DBUtil     Prepared:alter session set NLS_NUMERIC_CHARACTERS="" Eric

  • V1.1.1.25 / 25.14 : Opening connection throws ORA-01741

    Win XP SP2 / Java : SQL Dev's one / Oracle 10gXE.
    I did a clean install of sql dev into new directory and import settings from previous 1.1.
    When connecting to a database, I receive an ORA-01741 error.
    This can be clicked away and all is well. There is a way to fix it ?
    I'm a noobs in Oracle, also, maybe, it's just me :)
    Thanks,
    7 fÚvr. 2007 16:34:10 oracle.javatools.db.DBObjectProviderFactory notifyOfCreati
    on
    INFO: Provider created using key Morgann: oracle.javatools.db.ora.Oracle10gR2XE
    7 fÚvr. 2007 16:34:10 oracle.dbtools.db.DBUtil prepareExecute
    INFO: Prepared:alter session set NLS_NUMERIC_CHARACTERS=","
    7 fÚvr. 2007 16:34:10 oracle.dbtools.db.DBUtil execute
    INFO: Prepared:alter session set NLS_NUMERIC_CHARACTERS=","
    reloadBuffers(): 47 nodes checked in 4.26172E-4 second(s)
    7 fÚvr. 2007 16:35:14 oracle.dbtools.db.DBUtil prepareExecute
    INFO: Prepared:alter session set NLS_LENGTH_SEMANTICS="CHAR"
    7 fÚvr. 2007 16:35:14 oracle.dbtools.db.DBUtil execute
    INFO: Prepared:alter session set NLS_LENGTH_SEMANTICS="CHAR"

    I'm a noobs in Oracle, also, maybe, it's just me :)Well no, actually it's more like you're a noobs on the forum - take a look at:
    1.1.1.25.14 - Opening connection throws ORA-01741
    Kris, any way we can edit preferences.xml or something ourselves in order to keep migrated settings and lose the error?
    Thanks,
    K.

  • Why are all internal errors in HTMLDB ora-20001

    Hi,
    It seems that most of the custom errors in HTMLDB raise an ORA-20001. This makes it hard to search for solutions on the forum, as ORA-20001 returns a huge hit list. Wouldn't it be better to use more specific error numbers?
    Thanks,
    Steve

    I concur

  • HTMLDB ORA-1017 with a twist

    hi
    we've installed HTMLDB on Linux several times and got it working eventually. i've read all the FAQ (i think!). But on this most recent installation of HTMLDB on linux redhat I have encountered a problem I cannot fix or find any solution to.
    We complete a full and error-free install.
    But I am getting an error when I try to load the HTMLDB admin pages.
    http:\\server:7779 - gives me the welcome page
    http:\\server:7779\pls\htmldb - gives me
    403 - Forbidden - You don't have permission to access /pls/htmldb/htmldb on this server.
    The apache log line reads:
    [Tue Mar 21 14:00:24 2006] [notice] Accept mutex: fcntl (Default: sysvsem)
    [Tue Mar 21 14:00:30 2006] [error] [client 192.168.1.211] [ecid: 1142949629:127.0.0.1:20856:0:2,0] mod_plsql: /pls/htmldb/htmldb HTTP-403 ORA-1017
    So there is my ORA-1017 error, which implies that the HTMLDB_PUBLIC_USER password is wrong. So i do the following:
    1) ALTER USER on the database, reset the password to a simple string.
    2) Supply the same password in the marvel.conf just to get it to work.
    3) restart apache
    BUT I still get ORA-1017!!!!! grrrrrrrr! no change apparent.
    note:
    1) There are no other databases on this machine.
    2) The service name provided is correct (if i change it in marvel to an invalid setting, i get a page reading 'Service Unavailable', naturally).
    3) sqlplus works for the username/password.
    Why would I be able to connect using sqlplus but HTMLDB is getting ORA-1017 using the SAME username/password?
    any clues or suggestions would be great.
    is is possible that it thinks my new password is still encrypted? it is now plain text.
    please help everyone - cheers

    god bless metalink. I TOLE you this wasn't a problem with HTMLDB!! :-)
    I am posting the solution here for the benefit of future generations (why do so few poeple ever bother doing this).
    the problem was in the database install and the way HTTP works; HTMLDB was an innocent victim.
    here is the solution taken from Note:341694.1
    very happy - cheers everyone and thanks for the comments, made sure i wasnt going mad.
    thanks again
    Kevin
    NLS_LANG was not set before starting the HTTP Server.
    NLS_LANG needs to be set in the environment of the user that started OPMN to the same character
    set as the database character set.
    See also the following note:
    Note 299979.1 - ORASSO Fails With HTTP-403 Forbidden
    SolutionTo implement the solution, please execute the following steps:
    1. Get the NLS_LANG setting of your Portal database using the following query:
    sqlplus system/<password>
    SQL> select * from nls_database_parameters
    where parameter in ('NLS_LANGUAGE','NLS_TERRITORY','NLS_CHARACTERSET');
    2. Set the NLS_LANG using the values returned in step 1:
    i.e: export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
    3. Restart the HTTP Server in the same shell:
    opmnctl stopproc process-type=HTTP_Server
    opmnctl startproc process-type=HTTP_Server

  • Error 01741 executing a procedure

    While executing a procedure I'm getting the following error:
    BEGIN
    ERROR at line 1:
    ORA-01741: illegal zero-length identifier
    ORA-06512: at "SYS.DBMS_STREAMS_ADM_UTL_INVOK", line 289
    ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 439
    ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 397
    ORA-06512: at line 2

    I mean you can try using this code:
    BEGIN
         DBMS_STREAMS_ADM.ADD_SCHEMA_RULES(
              schema_name => 'MYSCHEMA',
              streams_type => 'capture',
              streams_name => 'capture_process',
              queue_name => 'capture_queue',
              include_dml => true,
              include_ddl => true,
              include_tagged_lcr => false,
              source_database => 'ANAG',
              inclusion_rule => true);
    END;
    Just try and let me know...

  • Runtime error ORA-01741after upgrade

    Hi,
    I got the error ORA-01741 : illegal zero-length identifier for many target tables, after upgrading to 9.0.3. The running is successfull, but I get this error when I look at the target table audit.
    Any tips what could cause that ?
    Thank's

    Could it be that any of your object names or attributes names are empty? Could you take a look at a generated script that causes this problem (I would expect 2 double quotes with nothing in between)?
    Thanks,
    Mark.

  • Error in phase import Homogeneous system copy from a BI 7.3 dual stack ABAPJAVA

    Hi
    I'm doing a Homogeneous system copy from a BI 7.3 dual stack ABAP+JAVA system with an Oracle DB (11g version, 11.2.0.3.0 patch level) with AIX ibm OS.
    Before starting export I've executed in the source system the report SMIGR_CREATE_DDL, as described in sap note 888210, and I generated *.SQL files.
    After, during the import in the target system I get the following error message:
    vi /expdb2/tmpDB0/sapinst_instdir/NW730/ORA/ORA/COPY/ORA/SYSTEM/STD/AS/import_monitor.log
    INFO: 2014-03-08 00:21:57 com.sap.inst.migmon.LoadTask run_report
    Monitor jobs: running 0, waiting 1, completed 60, failed 5, total 66  finish processing of package SAP0000
    You can see below the detail of the 5 packages in error:
    SAPAPPL0_1_5
    DbSlExecute: rc = 99
      (SQL error 2216)
      error message returned by DbSl:
    ORA-02216: tablespace name expected
    (DB) INFO: disconnected from DB
    /usr/sap/DB2/SYS/exe/uc/rs6000_64/R3load: job finished with 1 error(s)
    /usr/sap/DB2/SYS/exe/uc/rs6000_64/R3load: END OF LOG: 20140307141347
    SAPZPSA
    DbSlExecute: rc = 99
      (SQL error 2216)
      error message returned by DbSl:
    ORA-02216: tablespace name expected
    (DB) INFO: disconnected from DB
    SAPDODS
    DbSlExecute: rc = 99
      (SQL error 922)
      error message returned by DbSl:
    ORA-00922: missing or invalid option
    (DB) INFO: disconnected from DB
    SAPDFACT
    DbSl Trace: Error 1741 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-01741 occurred when executing SQL stmt (parse error offset=8126464)
    (DB) ERROR: DDL statement failed
    (  ALTER TABLE "/BI0/F0TCT_C01"    ADD PARTITION "/BI0/F0TCT_C010000001131" VALUES LESS THAN ( 0000001131  )    TABLESPACE "" )
    DbSlExecute: rc = 99
      (SQL error 1741)
      error message returned by DbSl:
    ORA-01741: illegal zero-length identifier
    (DB) INFO: disconnected from DB
    SAPZOSO
    DbSl Trace: Error 922 in exec_immediate() from oci_execute_stmt(), orpc=0
    DbSl Trace: ORA-00922 occurred when executing SQL stmt (parse error offset=242024448)
    (DB) ERROR: DDL statement failed
    (CREATE TABLE "/BIC/B0000989000"    ("REQUEST" VARCHAR2 (000090)      DEFAULT ' ' NOT NULL,    "DATAPAKID" VARCHAR2 (000018)      DEFAULT '000000' NOT NULL,    "PART
    NO" NUMBER (000010)      DEFAULT 0 NOT NULL,    "RECORD" NUMBER (000010)      DEFAULT 0 NOT NULL,    "PLANT" VARCHAR2 (000012)      DEFAULT ' ' NOT NULL,    "MATERIA
    L" VARCHAR2 (000054)      DEFAULT ' ' NOT NULL,    "RPA_CURUOM" VARCHAR2 (000015)      DEFAULT ' ' NOT NULL,    "RPA_MVF" NUMBER (000017, 000002)      DEFAULT 0 NOT N
    ULL,    "PRICE_UNIT" NUMBER (000017, 000003)      DEFAULT 0 NOT NULL,    "RPA_QTYUOM" VARCHAR2 (000009)      DEFAULT ' ' NOT NULL,    "RT_SSMFGR" VARCHAR2 (000024)
        DEFAULT '00000000' NOT NULL,    "BASE_UOM" VARCHAR2 (000009)      DEFAULT ' ' NOT NULL,    "FRE_PLNPUR" VARCHAR2 (000036)      DEFAULT ' ' NOT NULL,    "FRE_MINS
    TK" NUMBER (000017, 000003)      DEFAULT 0 NOT NULL,    "FRE_SERLEV" NUMBER (000017, 000003)      DEFAULT 0 NOT NULL,    "FRE_SELCLS" VARCHAR2 (000003)      DEFAULT '
    0' NOT NULL,    "FRE_REPLST" VARCHAR2 (000006)      DEFAULT ' ' NOT NULL,    "ABCKEY" VARCHAR2 (000003)      DEFAULT ' ' NOT NULL,    "RECORDMODE" VARCHAR2 (000003)
        DEFAULT ' ' NOT NULL,    "RT_SERVLEV" VARCHAR2 (000003)      DEFAULT ' ' NOT NULL,    "RT_SUPS" VARCHAR2 (000003)      DEFAULT ' ' NOT NULL,    "VAL_TYPE" VARCH
    AR2 (000030)      DEFAULT ' ' NOT NULL,    "PUR_GROUP" VARCHAR2 (000009)      DEFAULT ' ' NOT NULL,    "RT_VPNEU" NUMBER (000017, 000002)      DEFAULT 0 NOT NULL,
    "CURRENCY" VARCHAR2 (000015)      DEFAULT ' ' NOT NULL,    "RT_VRKPE" NUMBER (000017, 000003)      DEFAULT 0 NOT NULL,    "DISMM" VARCHAR2 (000006)      DEFAULT ' '
    NOT NULL,    "SALES_UNIT" VARCHAR2 (000009)      DEFAULT ' ' NOT NULL,    "RT_VP_BT" NUMBER (000017, 000002)      DEFAULT 0 NOT NULL,    "RT_VPE_BT" NUMBER (000017,
    000003)      DEFAULT 0 NOT NULL,    "RT_VP_NT" NUMBER (000017, 000002)      DEFAULT 0 NOT NULL,    "RT_VPE_NT" NUMBER (000017, 000003)      DEFAULT 0 NOT NULL,    "R
    T_VWAERBT" VARCHAR2 (000015)      DEFAULT ' ' NOT NULL,    "RT_VWAERNT" VARCHAR2 (000015)      DEFAULT ' ' NOT NULL,    "RT_VPMEIBT" VARCHAR2 (000009)      DEFAULT '
    ' NOT NULL,    "RT_VPMEINT" VARCHAR2 (000009)      DEFAULT ' ' NOT NULL,    "LOC_CURRCY" VARCHAR2 (000015)      DEFAULT ' ' NOT NULL,    "UNIT" VARCHAR2 (000009)
      DEFAULT ' ' NOT NULL,    "CM_MCATDIV" VARCHAR2 (000054)      DEFAULT ' ' NOT NULL,    "CM_CDT1" VARCHAR2 (000054)      DEFAULT ' ' NOT NULL,    "CM_CDT2" VARCHAR2
    (000054)      DEFAULT ' ' NOT NULL,    "CM_CDT3" VARCHAR2 (000054)      DEFAULT ' ' NOT NULL,    "CM_CDT4" VARCHAR2 (000054)      DEFAULT ' ' NOT NULL,    "CM_HIEID"
    VARCHAR2 (000006)      DEFAULT ' ' NOT NULL,    "CPSTLC" NUMBER (000017, 000002)      DEFAULT 0 NOT NULL,    "CPSVLC" NUMBER (000017, 000002)      DEFAULT 0 NOT NULL
    ,    "STOCK_VAL" NUMBER (000017, 000002)      DEFAULT 0 NOT NULL,    "STOCK_QTY" NUMBER (000017, 000003)      DEFAULT 0 NOT NULL,    "RT_SEASON" VARCHAR2 (000012)
      DEFAULT ' ' NOT NULL,    "RT_SEASYR" VARCHAR2 (000012)      DEFAULT '0000' NOT NULL,    "CALDAY" VARCHAR2 (000024)      DEFAULT '00000000' NOT NULL,    "CALWEEK"
    VARCHAR2 (000018)      DEFAULT '000000' NOT NULL,    "RF_BNDID" VARCHAR2 (000012)      DEFAULT ' ' NOT NULL,    "/BIC/ZCATTR3" VARCHAR2 (000006)      DEFAULT ' ' NOT
    NULL,    "/BIC/ZCSTYLE" VARCHAR2 (000006)      DEFAULT ' ' NOT NULL,    "/BIC/ZCIMAGE" VARCHAR2 (000006)      DEFAULT ' ' NOT NULL,    "/BIC/ZCBRNDTYP" VARCHAR2 (000
    003)      DEFAULT ' ' NOT NULL,    "/BIC/ZCGROUPE" VARCHAR2 (000054)      DEFAULT ' ' NOT NULL)    PCTFREE 10    PCTUSED 00    INITRANS 001    TABLESPACE    STORAGE (
    INITIAL    0000000016 K            NEXT        0000001024 K            MINEXTENTS  0000000001            MAXEXTENTS  2147483645            PCTINCREASE 0000
        FREELISTS  001            FREELIST GROUPS 01)      PARTITION BY RANGE ("PARTNO")      (      PARTITION "/BIC/B00009890000000000002" VALUES LESS THAN      (00000
    00002)      NOCOMPRESS      ) )
    DbSlExecute: rc = 99
      (SQL error 922)
      error message returned by DbSl:
    ORA-00922: missing or invalid option
    (DB) INFO: disconnected from DB

    hello,
    Before anything update DB shared lib, R3load, R3ldctl and R3szchk in the target system. Also Check in source system if you have any tables o index missing in db02 transaction, If this system wa upgraded from a previous release please check TAORA and IAORA tables in source system and check all the tablespaces named in those tables are created in the target system.
    let me know how it goes.
    Regards,
    Michael

  • Trouble with inserting a string containing a single quote

    Using php with Oracle
    If I do the following two lines before sending my $Query string through the parse function
    $name = "Dominick's";
    $Query = "INSERT INTO customers (name) values ('$name')";
    it gives me the following error:
    Warning: Ora_Parse failed (ORA-00917: missing comma -- while processing OCI function OPARSE)
    If I try and force the single quote to be surrounded by double quotes and therefore not be confused:
    $name = "Dominick's";
    Query = "INSERT INTO customers (name) values (\"$name\")";
    Trying that yields the following error:
    Warning: Ora_Parse failed (ORA-01741: illegal zero-length identifier -- while processing OCI function OPARSE)
    Help
    Jeff

    If it is possible (and here it is) you should use str_replace instead of ereg_replaceThanks for the reminder about str_replace().
    $Query = "INSERT INTO customers (name) values ('".addSlashes($name)."')";This gives an invalid Oracle SQL statement, which will generally fail with
      ORA-01756: quoted string not properly terminatedFor Oracle, single quotes must be doubled, not escaped with backslash.
    Of the solutions to insert the data, I'd prefer using bind variables
    since no escaping or quote doubling is needed.
    -- CJ

  • Error while creating database user with first.lastname pattern

    I am trying to user the database user management connector to create oracle database user, but when i use first.lastname pattern as the database username i got an ora-01936
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],oracle.iam.connectors.dbum.common.db.util.DBUtil : executeQuery
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],Error occurred while trying to execute query.
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],Description : ORA-01936: cannot specify owner when creating users or roles
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],java.sql.SQLSyntaxErrorException: ORA-01936: cannot specify owner when creating users or roles
    i figured out that when i use fist.lastname as database username i have to add double quotes, so i can create de user properly , but now the add role or grant task fails with ora-01741.
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],================= Start Stack Trace =======================
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],oracle.iam.connectors.dbum.common.db.util.DBUtil : executeQuery
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],Error occurred while trying to execute query.
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],Description : ORA-01741: illegal zero-length identifier
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],java.sql.SQLSyntaxErrorException: ORA-01741: illegal zero-length identifier

    Did u try adding the roles via sqlplus by running a command ?
    Whats the result
    Thanks
    Suren

  • Error while importing a dump

    hi gems..
    i have a expdp dump of a schema and then tried to import that dump using the impdp command.
    the import worked but two tables got failed. those two tables have partitions and subpartitions.
    i use the command
    impdp touser/password@sid directory=dmpdir dumpfile=dumpfile.dmp logfile=logfile.log remap_schema=(fromuser:touser) PARTITION_OPTIONS=MERGE
    the error code is:
    ORA-39083: Object type CONSTRAINT failed to create with error:
    ORA-01741: illegal zero-length identifier
    Failing sql is:
    ALTER TABLE "TOUSER"."TABLE1" ADD CONSTRAINT "CONSTRAINT_NAME" PRIMARY KEY ("COL1", "COL2", "COL3", "COL4", "COL5") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE( BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) LOCAL (PARTITION "P1" TABLESPACE "" ( SUBPARTITION "SYS_SUBP21" TABLES

    ORA-39083: Object type CONSTRAINT failed to create with error:
    ORA-01741: illegal zero-length identifier
    Failing sql is:
    ALTER TABLE "TOUSER"."TABLE1" ADD CONSTRAINT "CONSTRAINT_NAME" PRIMARY KEY ("COL1", "COL2", "COL3", "COL4", "COL5") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE( BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) LOCAL (PARTITION "P1" TABLESPACE "" ( SUBPARTITION "SYS_SUBP21" TABLES
    Error:  ORA 1741
    Text:   illegal zero-length identifier
    Cause:  An attempt was made to use two double quotes ("") as an identifier.
            An identifier must be at least one character long.
    Action: Insert at least one character between the double quotes in the
            identifier.
            If a blank identifier is required, specify a blank space between the
            double quotes (" ").If you see the above statement, there is blank value,
    LOCAL (PARTITION "P1" TABLESPACE ""
    TABLESPACE "" remove this (or) put a valid name and reexecute manually.

  • Unable to edit wizard created SVG chart query

    Hi,
    I have a problem with an SVG chart that one of the HTML DB wizards created.
    On the generated page the wizard created a selection list item named P30_SHOW.
    This item allows to choose a table column based on which an SVG pie chart is generated.
    The automatically generated chart query is:
    select 'f?p=106:26:&SESSION.:::RP,26:P26_CHART_FILTER,P26_VALUE:'||:P30_SHOW||','||"&P30_SHOW.",
    "&P30_SHOW.", count(*)
    from "TESTTABLE"
    group by 'f?p=106:26:&SESSION.:::RP,26:P26_CHART_FILTER,P26_VALUE:'||:P30_SHOW||','||"&P30_SHOW.",
    "&P30_SHOW."
    The page with selection list and chart worked fine at first.
    But then, when I edited the chart's width on the respective 'SVG Chart Attributes' tab and pressed
    the 'Apply Changes' button I got the following error:
    'Query cannot be parsed, please check the syntax of your query. (ORA-01741: illegal zero-length identifier)'
    I only changed the chart's width, I did not touch the chart's query at all.
    My theory is that HTML DB tries to validate the correctness of the chart's query.
    However, the query references a session variable (P30_SHOW) that is
    not defined in my development session. Consequently, the query is not valid in the
    development context and is refused by HTML DB.
    Now I have two questions:
    1. Is my analysis correct, or are there different reasons for the error I do encounter?
    2. How can I get around the problem? I'd like to use the automatically generated charts,
    but also want to be able to edit them.
    Thanks in advance for helpful comments.
    Regards Holger

    Scott,
    I imported the application using the import/install process. A new application ID was created but was not changed in the chart query. The link was generated by the application wizard. The chart query link is below:
    select 'f?p=103:2:&SESSION.:::RP,2:P2_CHART_FILTER,P2_VALUE:'||:P6_SHOW||','||"&P6_SHOW.", "&P6_SHOW.", count(*)
    from "O_DATA_COLLECTION_POINTS"
    group by 'f?p=103:2:&SESSION.:::RP,2:P2_CHART_FILTER,P2_VALUE:'||:P6_SHOW||','||"&P6_SHOW.", "&P6_SHOW."
    The new application id is 101. It is impossible to modify this query because of message:
    "1 error has occurred
    Query cannot be parsed, please check the syntax of your query. (ORA-01741: illegal zero-length identifier"
    This happens even if nothing is changed in the query but just the apply changes button is pressed.
    I had a similar problem with the breadcrumbs menu. The link was also pointing to the old application id 103 instead of the new application id 101. The way I got round that was to delete the breadcrumb template and create a new one. I then had to go through all the pages that referenced that and reset the breadcrumbs menu template in the region definition.
    Thanks Arjen

  • Session state of page item different from one region to another region

    hi,
    on one particular page I have two regions. A page item (LOV pop-up) is set in the first region. I leave this region with a button and jump back with a branch to the same page. The page item has now the selected value (as is shown by session state window). So far so good.
    The second region (SQL query type) uses this page item. However, for some reason the page item is NULL in that second region.
    Can anyone explain this behavior ?
    ron

    thanks Joel,
    I did already what you suggested. The title in region 2 is evaluated to the same value as in region 1.
    The SQL query (that actually runned with identical syntax before) is:
    select bla from blatable where bla = :P920_RU
    this generates:
    report error:
    ORA-12801: error signaled in parallel query server P000
    ORA-01741: illegal zero-length identifier
    So apperently the bind variable is evaluted to (or cached as) NULL.
    I noticed something strange in the session window. There are several page items in the application. All of them are listed in the 'Session State' region. The page item that makes problems is the only one that is also listed in the 'Page Items' region. It is even listed when I start the session window from another page. Weird.
    any other ideas ?
    Actually, how could you possibly clear session state between rendering two regions ?
    Ron

Maybe you are looking for