Error ORA-00911- while runing DB SCript in pl/sql

hi friends, i am getting the error , while running the script.
set feedback off
set define off
alter table TSS_FID_TRADING_DATA disable all triggers;
alter table TSS_FOREIGN_BOND_PRICE disable all triggers;
set feedback on
set define on
thanks in advance

Looks like to no mistakes in your commands.
But still check the error message details
00911, 00000, "invalid character"
// *Cause: identifiers may not start with any ASCII character other than
//         letters and numbers.  $#_ are also allowed after the first
//         character.  Identifiers enclosed by doublequotes may contain
//         any character other than a doublequote.  Alternative quotes
//         (q'#...#') cannot use spaces, tabs, or carriage returns as
//         delimiters.  For all other contexts, consult the SQL Language
//         Reference Manual.
// *Action:Regards,
Sabdar Syed.

Similar Messages

  • Error  ORA-02019: while selecting table from oracle10g to SQL Server 2005

    Hi all,
    our oracle 10g database is on AIX 5.2 and i configures heterogeneous service and install oracle 10g cleint on windows 2003 server where SQL Server reside . i configured the following things but i got the error ORA-02019. please help me its very urgent. quick response will higly appreciated. thanks alot in advance.
    1)create Sytem DSN (mysqlserver) by selectin SQL Native cleint
    2)copy the existing entry and paste it in listener.ora file and edit it as below
    LISTENERMYSQLSERVERDSN =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST= hostname of oracle database)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_ =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME= mysqlserver)
    (ORACLE_HOME = /u01/app/oracle/product/101)
    (PROGRAM=hsodbc)
    $lsnrctl status LISTENERMYSQLSERVERDSN
    It is working fine
    3) configure TNAMES.ora
    mysqlserver =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = 100.100.50.5)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = mysqlserver)
    (HS = OK)
    c:>tnsping mysqlserver
    it is workin fine
    4)copy inithsodbc.ora and make it initmysqlserver.ora
    HS_FDS_CONNECT_INFO = mysqlserver
    HS_FDS_TRACE_LEVEL = off
    4)create the database link
    sql>create database link mysqlserver
    connect to "sa" identified by "nsp@123" using 'mysqlserver';
    when i selecting SQL Server object from oracle i got below error
    SQL> select * from NSP_products@mysqlserver;
    select * from NSP_products@mysqlserver
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    pLease help me its very urgent.
    BEST REGARD

    Hi all,
    our oracle 10g database is on AIX 5.2 and i configures heterogeneous service and install oracle 10g cleint on windows 2003 server where SQL Server reside . i configured the following things but i got the error ORA-02019. please help me its very urgent. quick response will higly appreciated. thanks alot in advance.
    1)create Sytem DSN (mysqlserver) by selectin SQL Native cleint
    2)copy the existing entry and paste it in listener.ora file and edit it as below
    LISTENERMYSQLSERVERDSN =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST= hostname of oracle database)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_ =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME= mysqlserver)
    (ORACLE_HOME = /u01/app/oracle/product/101)
    (PROGRAM=hsodbc)
    $lsnrctl status LISTENERMYSQLSERVERDSN
    It is working fine
    3) configure TNAMES.ora
    mysqlserver =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = 100.100.50.5)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = mysqlserver)
    (HS = OK)
    c:>tnsping mysqlserver
    it is workin fine
    4)copy inithsodbc.ora and make it initmysqlserver.ora
    HS_FDS_CONNECT_INFO = mysqlserver
    HS_FDS_TRACE_LEVEL = off
    4)create the database link
    sql>create database link mysqlserver
    connect to "sa" identified by "nsp@123" using 'mysqlserver';
    when i selecting SQL Server object from oracle i got below error
    SQL> select * from NSP_products@mysqlserver;
    select * from NSP_products@mysqlserver
    ERROR at line 1:
    ORA-02019: connection description for remote database not found
    pLease help me its very urgent.
    BEST REGARD

  • Error ORA-02375 while trying to export/import JTF.JTF_PF_REPOSITORY table

    We have already created an SR, In the mean time, trying to see whether anyone else has come across this issue.  Thanks.
    On : 11.2.0.3 version, Data Pump Import
    Error ORA-02375 while trying to import JTF.JTF_PF_REPOSITORY table
    We are getting the below error while performing the full db
    import.
    ORA-02375: conversion error loading table
    "JTF"."JTF_PF_REPOSITORY" partition "EBIZ"
    ORA-22337: the type of accessed
    object has been evolved
    ORA-02372: data for row: SYS_NC00040$ :
    0X'8801FE000004AD0313FFFF0009198401190A434F4E4E454354'
    This issue is
    stopping our upgrade of database from 10.2.0.4 to 11.2.0.3. This is very
    critical for us to be resolved.

    Hi,
    seems this is Character set issue fo source and Target DB check this doc:Unable to Export Table WF_ITEM_ATTRIBUTE_VALUES due to errors ORA-02374, ORA-22337, and ORA-02372 (Doc ID 1522761.1)
    HTH

  • Error ORA-01422 while compressing a cube

    Hello,
    I am trying to compress the initial balnce of the European Inventory KPI  (KPINVMOEU) cube after reloading it and I encountered the oracle error-01422 which says:
    system error:error-01422:exact fetch returns more than requested
    system error:CONDENSE_FACTTABLE-5-ERROR-01422
    Has anyone dealt with this error before? Any input is appreciated.
    Thanks in advance,
    madhu

    Madhu,
        can you please look into these notes: 485766 and 385660.
    at the same time look into these links which is for similar problem.
    ERROR: System error: CONDENSE_FACTTABLE-5- ERROR:12805
    Error during compress 0IC_C03
    error ORA-01422 while compressing a cube
    Re: Cube compression failing
    All the best.
    Regards,
    Nagesh Ganisetti.

  • Error ORA-06502 When using function REPLACE in PL/SQL

    Hi,
    I have a PL/SQL procedure which gives error 'Error ORA-06502 When using function REPLACE in PL/SQL' when the string value is quite long (I noticed this with a string 9K in length)
    variable var_a is of type CLOB
    and the assignment statement where it gives the error is
    var_a := REPLACE(var_a, '^', ''',''');
    Can anyone please help!
    Thanks

    Even then that shouldn't do so:
    SQL> select overload, position, argument_name, data_type, in_out
      2  from all_arguments
      3  where package_name = 'STANDARD'
      4  and object_name = 'LPAD'
      5  order by 1,2
      6  /
    OVERLOAD   POSITION ARGUMENT_NAME                  DATA_TYPE                      IN_OUT
    1                 0                                VARCHAR2                       OUT
    1                 1 STR1                           VARCHAR2                       IN
    1                 2 LEN                            BINARY_INTEGER                 IN
    1                 3 PAD                            VARCHAR2                       IN
    2                 0                                VARCHAR2                       OUT
    2                 1 STR1                           VARCHAR2                       IN
    2                 2 LEN                            BINARY_INTEGER                 IN
    3                 0                                CLOB                           OUT
    3                 1 STR1                           CLOB                           IN
    3                 2 LEN                            NUMBER                         IN
    3                 3 PAD                            CLOB                           IN
    4                 0                                CLOB                           OUT
    4                 1 STR1                           CLOB                           IN
    4                 2 LEN                            NUMBER                         INI wonder what happened?

  • Error: ORA-02298 while creating a new app at DRM 11.1.2.3.300

    Hi All,
            There's something weird happening when I try to create a new DRM app at DRM Management Console. After provide all information about database connection and admin long on i am getting the following error during the repository creation :
    Creating Repository ...  Done.
    Creating Tables ...  Done.
    Creating Views ...  Done.
    Creating Stored Procedures ...  Done.
    Creating Indexes ...  Done.
    Creating Primary Keys ...  Done.
    Initializing schema with predefined data ...
    Database creation failed with this error: ORA-02298: cannot validate (EPM_DRM_DB.FK_CATUSER02) - parent keys not found
         It is a fresh install and I don't know why I am having this error.  Did someone had this issue too ? How to solve that ?
    Thanks in advance

    ...To whom it may concern.....
    This issue was related to privileges in database. I've generated the scripts and ran with system user and it worked.
    Case closed.

  • Error ORA-01652 while running select query

    A select query returning millions of records is returning the following error.
    SQL Error [
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
    We requested DBA to increased the TEMP tablespace. He increased it to 20GB and also, changed to Autoextent.
    When we executed the query again, we got the same error ?
    What could be the reason of this issue and how it can be resolved ?

    All sort operations that don't fit into the SORT_AREA_SIZE will go to the temp tablespace (they can be seen as direct writes in the trace file).
    It can easy be the case, that your temp tablespace needs to be many GB in size [we have a table with millions of rows and for the loading/merging our temp is 80GB in size].
    May be you can change your process of loading i.e. with this select you fill a intermediate table (with CTAS) and do your processing there or even try to do the processing in SQL while building the table. You could also try to do the processing with a cursor and BULK COLLECT LIMIT 100 and then inserting into the target table with the FORALL statement.

  • Error ORA-04031 while executing a stored procedure from Pro C++ code

    I am getting the error ORA-04031(Unable to allocate 4096 bytes of shared memory("Shared Pool",.....)) while trying to execute a stored procedure from my pro*C application. This happens only after a few hours since the application has been running. I am closing the cursor after every database call.
    Does anyone know why it is happening and any possible solutions?
    TIA
    Srithaj.

    One thing that can be done is to flush the shared pool before starting the application.
    alter system flush shared pool;
    Another is to increase the shared pool size by setting the parameter shared_pool_size in init_sid.ora file.
    null

  • Facing error- ORA-23324: while running DBMS_JOB.run(job#)

    Hi,
    I am a new comer to this forum. I'm facing the follwing error
    while running a push job in multimaster replication env. Though
    able to delete the pending transactions from Deftran relating to
    two groups which i'm going to resync.
    ORA-23324: error ORA-06512: at line , while creating deferror
    entry at "DB.WORLD" with error 100
    ORA-06512: at "SYS.DBMS_DEFER_SYS", line 1425
    ORA-06512: at "SYS.DBMS_DEFER_SYS", line 1488
    ORA-06512: at line 1
    any help is appreciated.
    thanks
    Hsingh

    I apologize if you already solved this.. but see Metalink ID 790221.1
    +*<Moderator Edit - deleted contents of MOS Doc - pl do NOT post such content - it is a violation of your Support agreement>*+                                                                                                                                                                                                                                                                                                                                                                                                               

  • BC4J VSM on OC4J 10.1.2 - jdbc error ORA-00911: invalid character

    Hello,
    I have been trying to run the Virtual Shopping Mall application on OC4J Standalone 10.1.2. I have deployed the application from a JDeveloper 10.1.2 release. When i try to login the OC4J log presents the following information and login fails:
    C:\oracle\oc4j_1012\j2ee\home>java -jar oc4j.jar
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.
    Statement: SELECT Users.USER_NAME, Users.FIRST_NAME, Users.LAST
    NAME,          Users.EMAIL, Users.ADDRESS, Users.CITY,
    Users.STATE, Users.COUNTRY, Users.ZIP, Users.PHONE,
    Users.ROLE, Users.PASSWORD, Users.CARD_PROVIDER,
    Users.CARD_NUMBER, Users.CARD_EXPIRY_DATE FROM USERS Users WHERE (USER
    _NAME=?)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java...
    which has a root cause of:
    ## Detail 0 ##
    java.sql.SQLException: ORA-00911: invalid character
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
    :137)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.
    java:181)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPrepa
    redStatement.java:661)
    I've read some posts that suggest it could be the jdbc driver or the 'use ? style variables' option on the view definition. Your assistance is appreciated.
    Thanks
    David

    Thanks Luke,
    I changed
    vo.setWhereClause(" USER_NAME=?");
    to
    vo.setWhereClause(" USER_NAME=:0");
    And that particular segment worked as expected.
    Thanks
    David

  • Getting error ORA-12705, while connecting through Sql*Plus?

    Hi TOM,
    While connecting ORACLE Database through Sql*Plus / via through Application. We getting error called "Error while trying to retrieve text for error ORA-12705".
    How to re-solve this one?
    Thanks & Regards,
    Senthil K Kumar.

    Maran,
    check the registry NLS_LANG in the registry rename it as suggested by burleson and add a new entryCurrently, it was more suggested by Maxim ;-)
    Nicolas.

  • Error ORA-10980 while creating MV

    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 21 11:43:02 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    CREATE MATERIALIZED VIEW ebOrganizationStructure AS
    SELECT DEPT.DeptStructureString Structure,
    DEPT.DeptShortName DeptCode,
    DEPT.DeptName DeptDesc,
    NULL DivCode,
    NULL DivDesc,
    NULL GrpCode,
    NULL GrpDesc,
    NULL SecCode,
    NULL SecDesc,
    NULL SSecCode,
    NULL SSecDesc
    FROM erDepartment DEPT
    UNION
    SELECT DivStructureString Structure,
    DEPT.DeptShortName DeptCode,
    DEPT.DeptName DeptDesc,
    DIV.DivShortName DivCode,
    DIV.DivName DivDesc,
    NULL GrpCode,
    NULL GrpDesc,
    NULL SecCode,
    NULL SecDesc,
    NULL SSecCode,
    NULL SSecDesc
    FROM erDepartment DEPT,
    erDivision DIV ,
    erOrgUnit_Orgunit OGU_OGU1
    WHERE OGU_OGU1.OguEntId2 = DIV.EntId
    AND OGU_OGU1.OguEntDomId2 = DIV.EntDomId
    AND DEPT.EntId = OGU_OGU1.OguEntId1
    AND DEPT.EntDomId = OGU_OGU1.OguEntDomId1
    UNION
    SELECT GRP.GrpStructureString Structure,
    DEPT.DeptShortName DeptCode,
    DEPT.DeptName DeptDesc,
    DIV.DivShortName DivCode,
    DIV.DivName DivDesc,
    GRP.GrpShortName GrpCode,
    GRP.GrpName GrpDesc,
    NULL SecCode,
    NULL SecDesc,
    NULL SSecCode,
    NULL SSecDesc
    FROM erDepartment DEPT,
    erDivision DIV ,
    erGroup GRP,
    erOrgUnit_Orgunit OGU_OGU1,
    erOrgUnit_Orgunit OGU_OGU2
    WHERE OGU_OGU1.OguEntId2 = GRP.EntId
    AND OGU_OGU1.OguEntDomId2 = GRP.EntDomId
    AND DIV.EntId = OGU_OGU1.OguEntId1
    AND DIV.EntDomId = OGU_OGU1.OguEntDomId1
    AND OGU_OGU2.OguEntId2 = DIV.EntId
    AND OGU_OGU2.OguEntDomId2 = DIV.EntDomId
    AND DEPT.EntId = OGU_OGU2.OguEntId1
    AND DEPT.EntDomId = OGU_OGU2.OguEntDomId1
    UNION
    SELECT SEC.SecStructureString Structure,
    DEPT.DeptShortName DeptCode,
    DEPT.DeptName DeptDesc,
    DIV.DivShortName DivCode,
    DIV.DivName DivDesc,
    GRP.GrpShortName GrpCode,
    GRP.GrpName GrpDesc,
    SEC.SecShortName SecCode,
    SEC.SecName SecDesc,
    NULL SSecCode,
    NULL SSecDesc
    FROM erDepartment DEPT,
    erDivision DIV ,
    erGroup GRP,
    erSection SEC,
    erOrgUnit_Orgunit OGU_OGU1,
    erOrgUnit_Orgunit OGU_OGU2,
    erOrgUnit_Orgunit OGU_OGU3
    WHERE OGU_OGU1.OguEntId2 = SEC.EntId
    AND OGU_OGU1.OguEntDomId2 = SEC.EntDomId
    AND GRP.EntId = OGU_OGU1.OguEntId1
    AND GRP.EntDomId = OGU_OGU1.OguEntDomId1
    AND OGU_OGU2.OguEntId2 = GRP.EntId
    AND OGU_OGU2.OguEntDomId2 = GRP.EntDomId
    AND DIV.EntId = OGU_OGU2.OguEntId1
    AND DIV.EntDomId = OGU_OGU2.OguEntDomId1
    AND OGU_OGU3.OguEntId2 = DIV.EntId
    AND OGU_OGU3.OguEntDomId2 = DIV.EntDomId
    AND DEPT.EntId = OGU_OGU3.OguEntId1
    AND DEPT.EntDomId = OGU_OGU3.OguEntDomId1
    UNION
    SELECT SSEC.SubSecStructureString Structure,
    DEPT.DeptShortName DeptCode,
    DEPT.DeptName DeptDesc,
    DIV.DivShortName DivCode,
    DIV.DivName DivDesc,
    GRP.GrpShortName GrpCode,
    GRP.GrpName GrpDesc,
    SEC.SecShortName SecCode,
    SEC.SecName SecDesc,
    SSEC.SubSecShortName SSecCode,
    SSEC.SubSecName SSecDesc
    FROM erDepartment DEPT,
    erDivision DIV ,
    erGroup GRP,
    erSection SEC,
    erSubSection SSEC,
    erOrgUnit_Orgunit OGU_OGU1,
    erOrgUnit_Orgunit OGU_OGU2,
    erOrgUnit_Orgunit OGU_OGU3,
    erOrgUnit_Orgunit OGU_OGU4
    WHERE OGU_OGU1.OguEntId2 = SSEC.EntId
    AND OGU_OGU1.OguEntDomId2 = SSEC.EntDomId
    AND SEC.EntId = OGU_OGU1.OguEntId1
    AND SEC.EntDomId = OGU_OGU1.OguEntDomId1
    AND OGU_OGU2.OguEntId2 = SEC.EntId
    AND OGU_OGU2.OguEntDomId2 = SEC.EntDomId
    AND GRP.EntId = OGU_OGU2.OguEntId1
    AND GRP.EntDomId = OGU_OGU2.OguEntDomId1
    AND OGU_OGU3.OguEntId2 = GRP.EntId
    AND OGU_OGU3.OguEntDomId2 = GRP.EntDomId
    AND DIV.EntId = OGU_OGU3.OguEntId1
    AND DIV.EntDomId = OGU_OGU3.OguEntDomId1
    AND OGU_OGU4.OguEntId2 = DIV.EntId
    AND OGU_OGU4.OguEntDomId2 = DIV.EntDomId
    AND DEPT.EntId = OGU_OGU4.OguEntId1
    AND DEPT.EntDomId = OGU_OGU4.OguEntDomId1
    Trace file showing error ORA-10980. MV hangs forever and never compiles. If I execute the query it comes up with correct results.
    Thanks
    Rajesh

    I've seen MVs on 10g to be a bit tempermental. What happens if you build the MV but defer population and populate it as a second step?

  • Using Oracle OLE DB provider (with ADO) generates error: ORA-01843 while using date

    Were using OLE DB provider in order to connect to our Oracle 9i database. When executing the following query in a SQL Plus window I will get the correct results:
    SELECT gum_seu_syo_id, seu_userid, seu_first_name, seu_last_name
    From group_user_mapping, security_users
    Where gum_seu_syo_id = seu_syo_id
    and gum_term_date > '8/19/2002'
    and gum_seg_syo_id = 11
    However if will execute the same query from the our application (VB using ADO) I will get the following error:
    ORA-01843: Not a valid month
    Checking with our Oracle DBA we made sure my registry is correct and includes the correct format under HEKY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORACLE_HOME,
    where the key is NLS_DATE_FORMAT (of type REG_EXPAND_SZ) with the value:
    MM/DD/YYYY HH:MI:SS AM
    I also run the following query in a SQL Plus window:
    select sysdate from dual;
    and got the following result:
    08/19/2002 10:27:20 AM
    which shows that the data format is correct.
    Trying to switch between the month and day in the query (put '19/8/2002') worked from the application but generated ORA-01843: Not a valid month in the SQL Plus window.
    Any ideas?

    try using
    to_char function
    for eg.
    select * from emp where to_char(hiredate,'dd/mm/yy') > '20/3/83'.
    Jagriti

  • Error: ORA-03113 while executing complex java code from Oracle PL/SQL

    Hi,
    I am trying to execute a complex java code from Oracle PL/SQL. The classes were resolved successfully. But in the middle of execution, I am getting the following error:
    ERROR:
    ORA-03114: not connected to ORACLE
    begin
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Process ID: 13685
    Session ID: 21 Serial number: 20
    Is there a way to debug the Java classes loaded into oracle? Or is there any utility to find out why the connection was lost?
    Regards,
    Saravana

    Hi Saravana:
    You could use simply System.out.println(..) at your Java code and see the output at the .trc files generated for your Oracle session.
    Or better than this adding Java Util Logging messages at your code, to see how to use JUL API at the OJVM please see this blog post [Using JUL API inside the OJVM|http://marceloochoa.blogspot.com/2007/11/getting-logging-entering-exiting-and.html].
    Best regards, Marcelo.
    PD: ora-0600 generally are associated with RDBMS bugs, but these bugs can be bypassed by replacing the code which throws the exception by other with a workaround.

  • Throwing error ORA- 01031 while connecting as sys, but not with system

    Hi
    we are having oracle 10g on one of the server. When I try to connect sqlplus "/as sysdba"..its throwing error
    ORA- 01031: Insufficient privelege.
    But when I tried login with sqlplus system@dbname its getting connected properly. whats the reason behind this? It was
    working fine till yesterday.
    Thanks
    Shiyas M

    The reason for this can partly be seen in your profile,
    you have asked 17 questions, and 17 of them have been unresolved.
    This isn't very likely,
    so likely you are too lazy to label a question as answered.
    Your laziness is also indicated by this question, which is a FAQ, and FAQs are most often asked, by people who
    - don't read documentation
    - don't use online resources
    - don't search this forum
    prior to asking their FAQ.
    Your equation of SYS as SYSDBA and the SYSTEM account is also incorrect, as SYSTEM doesn't have SYSDBA privileges.
    The ORA-1031 simply means someone somehow disabled OS authentication.
    Now it is up to you to find out why.
    Either by using online resources, or by reading documentation, and researching your own database.
    Not by asking a FAQ and never marking any answer as correct.
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for