FIXED     ORA-02180 when Creating a Temporary Tablespace

I am using Oracle 9i on a Win 2003 machine.
I have just performed a recovery of all my datafiles and have successfully opened the database using ALTER DATABASE OPEN;
I have been using THIS as a guide and am now at the stage of creating a new temp tablespace and dropping the old one (step 8.).
I use the following SQL,
CREATE TEMPORARY TABLESPACE temp02 TEMPFILE 'c:\oracle\oradata\bcs\temp02.dbf' SIZE 100mb AUTOEXTEND OFF EXTENT MANAGEMENT LOCAL;
However it returns the following error:
ERROR at line 1:
ORA-02180: invalid option for CREATE TABLESPACE
Having googled the error it just says to make sure I am specifying a vaild option such as a datafile. I thought that is what I am doing!?
Could anyone please point out where I am going wrong and suggest a solution. It would be greatly appreciated.
Regards
Toby
Message was edited by:
redeye

Hi,
CREATE TEMPORARY TABLESPACE temp02 >TEMPFILE 'c:\oracle\oradata\bcs\temp02.dbf' SIZE 100mb AUTOEXTEND OFF
EXTENT MANAGEMENT LOCAL;i think above creating temporary tablespace syntax may be wrong
why r u using AUTOEXTEND OFF?
plz try the following syntax
CREATE TEMPORARY TABLESPACE temp02 TEMPFILE 'c:\oracle\oradata\bcs\temp02.dbf' SIZE 100mb
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 10m;
Regards ...

Similar Messages

  • ORA-12913: Cannot create dictionary managed tablespace

    I am using the following statement:
    CREATE TABLESPACE data01
    DATAFILE 'D:\ORACLE\ORADATA\SSR\data01.dbf' SIZE 2M
    EXTENT MANAGEMENT DICTIONARY;
    and I get the following error message:
    ORA-12913: Cannot create dictionary managed tablespace
    If I take off EXTENT MANAGEMENT DICTIONARY, the statement executes. What am I doing wrong?

    Details about create a tablespace:
    CREATE TABLESPACE
    Purpose
    Use the CREATE TABLESPACE statement to create a tablespace, which is an allocation of space in the database that can contain persistent schema objects.
    When you create a tablespace, it is initially a read/write tablespace. You can subsequently use the ALTER TABLESPACE statement to take the tablespace offline or online, add datafiles to it, or make it a read-only tablespace.
    You can also drop a tablespace from the database with the DROP TABLESPACE statement.
    You can use the CREATE TEMPORARY TABLESPACE statement to create tablespaces that contain schema objects only for the duration of a session.
    See Also:
    Oracle9i Database Concepts for information on tablespaces
    ALTER TABLESPACE for information on modifying tablespaces
    DROP TABLESPACE for information on dropping tablespaces
    CREATE TEMPORARY TABLESPACE
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_74a.htm#SQLRF01403
    Joel P�rez

  • ORA-02303 when creating database on Exadata using template with BP12

    I get ORA-02303 when creating a RAC database on Exadata. Logs indicate that error happened when applying bundle patch BP12 and probably when running following script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catsnap.sql
    CREATE OR REPLACE TYPE SYS.RewriteMessage AS OBJECT(
    Check the following file for errors:
    /u01/app/oracle/product/11.2.0.4/dbhome_1/cfgtoollogs/catbundle/catbundle_EXA_ACSES01_GENERATE_2014Dec17_13_07_45.log
    Apply script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catbundle_EXA_ACSES01_APPLY.sql
    Rollback script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catbundle_EXA_ACSES01_ROLLBACK.sql
    Executing script file...
    Processing Oracle Database Packages and Types...
    CREATE OR REPLACE TYPE SYS.RewriteMessage AS OBJECT(
    ERROR at line 1:
    ORA-02303: cannot drop or replace a type with type or table dependents
    CREATE OR REPLACE TYPE SYS.ExplainMVMessage AS OBJECT (
    ERROR at line 1:
    ORA-02303: cannot drop or replace a type with type or table dependents
    Anyone experienced the same issue??

    Metalink search points to few bugs. May be opening a SR is a good idea.

  • ORA-00600 Error, when Dropping one temporary tablespace

    Hi,
    I am using Oracle 10.1.0.2.0 on WinXPP, after I created a new temp tablespace and assigned one user to it as its temp tablespace, then trying to drop the old temp tablespace , I am getting the following Error . Can anybody pl. explain the reason.
    Steps I followed as...
    SYSTEM@orcl>create temporary tablespace checkup_tmp tempfile 'c:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL \CHECKUP_Tmp.dat' size 500M;
    Tablespace created.
    SYSTEM@orcl> alter user checkup temporary tablespace checkup_tmp;
    User altered.
    SYSTEM@orcl> drop tablespace CHECKUP_TEMP including contents;
    drop tablespace CHECKUP_TEMP including contents
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [krf_gen_drop_tablespace-1], [], [],
    SYSTEM@orcl> drop tablespace CHECKUP_TEMP ;
    drop tablespace CHECKUP_TEMP
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [krf_gen_drop_tablespace-1], [], [],
    Thanks in advance

    this is the bug 3984486
    consider upgrading.
    the workaround seems to flashback the DB...

  • ORA-30014 When creating new database manually

    Greetings!
    OS : Windows XP
    Oracle Version : 10g
    I'm trying to install Peopelsoft Database into a newly created Oracle seed database, I have tested my seed database looging into SYS user.. it works with no issues.
    Im going through the Step by step instructions from the people soft installation document.
    Step #1
    Create Ini.ora for new DB. I named it as HDMO
    DB_NAME = HDMO
    DB_FILES = 1021
    OPEN_CURSORS = 1000
    db_block_size = 8192
    And placed it into database folder. C:\oracle\product\10.2.0\db_1\database
    Step #2
    Created ORACLE_SID Environemnt Variable. ORACLE_SID = HDMO
    Step #3
    Created Windows Service...
    oradim -new -sid HDMO -intpwd manager -startmode auto -pfile C:\oracle\product\10.2.0\db_1\database\inithdmo.ora
    Database service created succefully, and im able to start & stop activites without issues.
    Step #4
    Then manual creation of database as mentioned....
    REMARK startup nomount pfile=%ORACLE_HOME%\database\inithdmo.ora
    CREATE DATABASE HDMO
    maxdatafiles 1021
    maxinstances 1
    maxlogfiles 8
    maxlogmembers 4
    CHARACTER SET WE8ISO8859P15
    NATIONAL CHARACTER SET UTF8
    DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\system01.dbf' SIZE 2000M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SYSAUX DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\sysaux01.dbf' SIZE 120M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE 'C:\oracle\product\10.2.0\oradata\hdmo\temp01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED UNDO TABLESPACE "PSUNDOTS" DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\psundots01.dbf' SIZE 300M REUSE
    AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED LOGFILE GROUP 1 ('C:\oracle\product\10.2.0\oradata\hdmo\redo01.log') SIZE 100M, GROUP 2 ('C:\oracle\product\10.2.0\oradata\hdmo\redo02.log') SIZE 100M,
    GROUP 3 ('C:\oracle\product\10.2.0\oradata\hdmo\redo03.log') SIZE 100M;
    Entered into SQLPLUS ' as / sysdba' from Command prompt...
    ran above script...
    Encountered the following error....
    ORA-30014 Operation only supported in Automatic Undo Management Mode
    I read some where found that I can get around with it, by adding... UNDO_MANAGEMENT = AUTO in my Inithdmo.ora file.. I did it..
    then it yield to diffrent error...
    After i login into SQL prompt.. first it says.. "*CONNECTED TO AN IDLE Instance*" then i ran my create database
    script... but it says...
    ORA-01034  ORacle Not available
    Can someone help me here....
    Thanks in advance....

    I tried with the following... Uncommented... (Previosuly it was REMARK ed)
    startup nomount pfile=%ORACLE_HOME%\database\inithdmo.ora
    there was an error message ORA-01081 Cannot start already running Oracle - shut it down first.
    I stop the service and ran the script.. it says NOT CONNECTED to ORACLE.
    Is shutdown means stopping the service?

  • ORA-02263 when creating Report on Web Service Result

    Hi,
    I'm using Application Express 4.2.1.00.08 and I'm having problems creating a report on web service result.
    This is the tutorial I'm using: http://docs.oracle.com/cd/E14373_01/appdev.32/e13363/web_serv.htm (yes, I realize it's intended primarily for APEX 3.2).
    I am able to create the web service, but when creating a report on web service result, I get the following error in the last step:
    ORA-20001: Unable to create form on table. ORA-02263: need to specify the datatype for this column.
    I have tried creating a report on the same web service result on apex.oracle.com (Application Express 4.2.1.00.08) and I don't get the error, and I am able to create the report.
    The same thing happens with another web service, so I'm puzzled.
    What could be the problem?
    Thank you.

    I wasn't able to solve the original problem, but I was able to recreate the process manually, using APEX_WEB_SERVICE.PARSE_RESPONSE function, documented here:http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_web_service.htm#autoId10
    Thanks again for your help!

  • ORA-15005 when creating tablespaces

    Database oracle 10g
    OS Redhat EL4
    Using RAC and +ASM
    Hi
    I created a load of tablespaces with specific datafiles.
    create tablespace whatever datafile '+DATA01/etc/etc.dbf' size 100M
    I then realised I had mixed up all the datafile names so dropped them all
    drop tablespace whatever;
    After this I fixed up the naming and tried to recreate the tablespaces but get the following error
    ORA-01119: error in creating database file '+DATA01/etc
    ORA-15005: name etc/etc is already used by an existing alias
    Any ideas how I get rid of these so I can start again?
    Thanks for help in advance

    Hi,
    you should drop the alias first.
    ALTER DISKGROUP dgroup# DROP FILE '+dgroup/etc/etc.dbf';
    dBarak.
    Message was edited by:
    dBarak

  • Ora-20001 when creating a form on table with report (bug?)

    Having some trouble creating a "Form on table with report".
    1) I pick my table
    2) take most of the defaults on the page where you pick the report type (interactive) and the page number (I changed it to 950). next->
    3) Do not use tabs. Next->
    4) Select all columns for the report. THEN (here's the problem) set an optional where clause of system_role_name like 'ODPSPOPUP%'. Next->
    5) choose standard edit link. next->
    6) Specify a page of 951 for the form (leave others defaults). next->
    7) Set the form primary key (defined in table). next->
    8) use existing trigger. next->
    9) choose all columns for the form. next->
    10) Leave actions to insert, update, delete. next->
    11) Get to the summary page and click Finish
    Then I get an error page saying:
    ORA-20001: Unable to create query and update page. ORA-20001: Unable to create query and update page. ORA-00933: SQL command not properly ended
    If I go back to step 4 and erase my where clause the wizard completes successfully.
    Also if I change the report type in step 2 from the default of "Interactive" to "Classic" the wizard completes successfully. However upon running the report I get a query parse error. Looks like the where clause in the report sql is: system_role_name like ''ODPSPOPUP%'' (two single quotes on each side).
    It looks as if you cannot specify a where clause with a quoted string. The wizard is expecting a bind variable.
    Workaround(s):
    1) Don't specify a where clause when report type = Interactive in "create form on table with report" wizard.
    or
    2) Specify a bogus where clause using bind variable syntax such as "system_role_name like :BOGUSVARIABLE". Then edit the report query once the wizard finishes and change the where clause to the constant string you wanted to use in the wizard (e.g. "system_role_name like 'MYSYSTEM%'")
    Apex: 3.2.0.00.27
    Database: Oracle Database 11g Enterprise Edition 11.1.0.7.0 64bit Production (Oracle EL5)

    Andy,
    It's a bug, all right. Thanks for the detailed problem description. We'll fix it when we can.
    Scott

  • ORA-20001: error 29th ORA-24344 When creating a workspace

    Hi,
    I just installed APEX 4.0 on 10g (10.2.0.4).
    When I tried to create a new workspace, at the last step (after clicking "Create Workspace" button), it fails with the following error.
    ORA-20001: error 29th ORA-24344: success with compilation error
    Error provisioning test.
    I could not find any errors in PLSQL debug error, and in DBA_ERRORS table.
    Could you help me to fix this problem? I ran utlrp.sql to make sure we don't have invalid objects. And I read the installation log and found no errors. XDB, OWA installed.
    I have another APEX 4.0 instance on 11g R2, and it works fine.
    Thanks
    Jung
    Edited by: jwryoo on Jul 15, 2010 8:37 AM

    thanks.
    Yes, that's I already checked and confirmed that the privilege is granted.
    DBA_ERRORS did not show any errors owned by APEX% users.
    But I did see some errors owned by XDB.
    PL/SQL: Item ignored
    PLS-00201: identifier 'UTL_FILE' must be declared
    PL/SQL: Statement ignored
    PLS-00201: identifier 'DBMS_LOB' must be declared
    It seems the DB has revoked some public access for security reasons.
    So, I am trying to ask DBA to grant the privileges to XDB.

  • ORA-00942 when creating external table under 10g with AQ

    I have an application that runs with AQ. The front-end queues up batch-type
    tasks in a queue. When one particular kind of message is dequeued, it
    initiates a data load. That load requires the creation of an external
    table.
    The schema in question is owned by user BL (bulkload). The queue
    is owned by BLB (bulkload batch), primarily to simplify some of the
    rules needed by the resource manager in order to limit the total CPU
    a batch process can consume. The BLB user has full access to the
    BL schema, along with the following rights:
    CREATE TYPE
    CREATE TABLE
    CREATE SEQUENCE
    CREATE PROCEDURE
    CREATE VIEW
    CREATE SYNONYM
    CREATE SEQUENCE
    ALTER SESSION
    CREATE SESSION
    QUERY REWRITE
    CREATE ANY CONTEXT
    EXECUTE_CATALOG_ROLE
    CREATE MATERIALIZED VIEW
    CREATE ANY DIRECTORY
    DROP ANY DIRECTORY
    The table creation works fine under 9.2.0.8 (our current required
    version). However the application generates an ORA-00942 table or view does
    not exist when run under 10g (10.2.0.1 and 10.2.0.3).
    The following statement is the problem:
    CREATE TABLE bulkload33 (
              field1 VARCHAR2(2000),field2 VARCHAR2(2000),field3 VARCHAR2(2000))
              ORGANIZATION EXTERNAL (
              TYPE oracle_loader DEFAULT DIRECTORY EXT_100
              ACCESS PARAMETERS ( RECORDS DELIMITED BY "\r\n"
              CHARACTERSET 'WE8ISO8859P1'
              BADFILE EXT_100:'bulkload_bad.csv'
              LOGFILE EXT_100:'bulkload_log.csv'
              FIELDS TERMINATED BY ','
              OPTIONALLY ENCLOSED BY '"' MISSING FIELD VALUES ARE NULL REJECT ROWS WITH ALL NULL FIELDS (
              field1 CHAR(2000),field2 CHAR(2000),field3 CHAR(2000),field4 CHAR(2000)))
              LOCATION ('bulkload.csv')
              ) REJECT LIMIT UNLIMITED PARALLEL;
    To clarify, the preceding statement, when handled by the process
    for a queue message, failes with an ORA-00942.
    Note that I can issue the command directly, as BLB or SYS, against
    the BL schema with no problems. Further, as user BLB or SYS, I can do
    the following:
    CREATE OR REPLACE PROCEDURE dotest
    IS
         l_sql varchar2(2000);
    BEGIN
         l_sql := 'CREATE TABLE bulkload33 (
              field1 VARCHAR2(2000),field2 VARCHAR2(2000),field3 VARCHAR2(2000))
              ORGANIZATION EXTERNAL (
              TYPE oracle_loader DEFAULT DIRECTORY EXT_100
              ACCESS PARAMETERS ( RECORDS DELIMITED BY "\r\n"
              CHARACTERSET ''WE8ISO8859P1''
              BADFILE EXT_100:''bulkload_bad.csv''
              LOGFILE EXT_100:''bulkload_log.csv''
              FIELDS TERMINATED BY '',''
              OPTIONALLY ENCLOSED BY ''"'' MISSING FIELD VALUES ARE NULL REJECT ROWS WITH ALL NULL FIELDS (
              field1 CHAR(2000),field2 CHAR(2000),field3 CHAR(2000),field4 CHAR(2000)))
              LOCATION (''bulkload.csv'')
              ) REJECT LIMIT UNLIMITED PARALLEL';
         EXECUTE IMMEDIATE l_sql;
    END;
    show errors
    EXEC dotest
    Does anyone have any ideas of why this doesn't work under 10g? Metalink
    has yielded no clues so far.
    Thanks.

    Define "has full access to the BL schema" given that it is impossible to grant access rights, in Oracle, by schema. What was done and how was it done?
    My guess is that the privs were granted in a role, rather than explicitly, as is required for PL/SQL.

  • Got error ORA-06502 when creating a report page

    Hi,
    I got ORA-06502 error message when trying to create a report page using one particular query (see below). It happened in the 'SQL Query' step. After put query in the text box and click on 'Next' button, the error message read
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Exactly same query running in sqlplus session against same database and same schema can run thru fine.
    I wonder if anybody can give me a pointer what could be wrong with the query, and how to debug.
    The query is
    WITH o AS
    SELECT a.manager, m.owner
    FROM man_hierarchy_v m,
         SELECT owner manager
         FROM man_hierarchy_v
         WHERE manager_ladder LIKE '%-CROZWAT-%'
         AND olevel =
              (SELECT olevel + 1 FROM man_hierarchy_v WHERE owner = 'CROZWAT')
         ORDER BY owner
    ) a
    WHERE manager_ladder LIKE '%-' || a.manager || '-%'
    SELECT manager,
         code, TO_CHAR(code/total*100, '999.9') code_perc,
         code_symptoms, TO_CHAR(code_symptoms/num_symptoms*100, '999.9') code_sym_perc,
         env, TO_CHAR(env/total*100, '999.9') env_perc,
         env_symptoms, TO_CHAR(env_symptoms/num_symptoms*100, '999.9') env_sym_perc,
         test, TO_CHAR(test/total*100, '999.9') test_perc,
         test_symptoms, TO_CHAR(test_symptoms/num_symptoms*100, '999.9') test_sym_perc,
         tbd, TO_CHAR(tbd/total*100, '999.9') tbd_perc,
         tbd_symptoms, TO_CHAR(tbd_symptoms/num_symptoms*100, '999.9') tbd_sym_perc,
         cnd, TO_CHAR(cnd/total*100, '999.9') cnd_perc,
         cnd_symptoms, TO_CHAR(cnd_symptoms/num_symptoms*100, '999.9') cnd_sym_perc,
         latent, TO_CHAR(latent/total*100, '999.9') latent_perc,
         latent_symptoms, TO_CHAR(latent_symptoms/num_symptoms*100, '999.9') latent_sym_perc,
         behavior, TO_CHAR(behavior/total*100, '999.9') behavior_perc,
         behavior_symptoms, TO_CHAR(behavior_symptoms/num_symptoms*100, '999.9') behavior_sym_perc,
         dep_labels, TO_CHAR(dep_labels/total*100, '999.9') dep_labels_perc,
         dep_labels_symptoms, TO_CHAR(dep_labels_symptoms/num_symptoms*100, '999.9') dep_labels_sym_perc,
         total, num_symptoms
    FROM
    SELECT manager, SUM(code) code, SUM(code_symptoms) code_symptoms,
         SUM(cnd) cnd, SUM(cnd_symptoms) cnd_symptoms,
         SUM(env) env, SUM(env_symptoms) env_symptoms,
         SUM(behavior) behavior, SUM(behavior_symptoms) behavior_symptoms,
         SUM(latent) latent, SUM(latent_symptoms) latent_symptoms,
         SUM(dep_labels) dep_labels, SUM(dep_labels_symptoms) dep_labels_symptoms,
         SUM(test) test, SUM(test_symptoms) test_symptoms,
         SUM(tbd) tbd, SUM(tbd_symptoms) tbd_symptoms,
         COUNT(probid) total,
         SUM(num_symptoms) num_symptoms
    FROM
    SELECT o.manager, p.probid, NVL(num_symptoms, 0) num_symptoms,
         DECODE(type, 'C', 1, 0) code,
         CASE WHEN type = 'C' THEN num_symptoms ELSE 0 END code_symptoms,
         DECODE(type, 'CND', 1, 0) cnd,
         CASE WHEN type = 'CND' THEN num_symptoms ELSE 0 END cnd_symptoms,
         DECODE(type, 'E', 1, 0) env,
         CASE WHEN type = 'E' THEN num_symptoms ELSE 0 END env_symptoms,
         DECODE(type, 'L', 1, 0) behavior,
         CASE WHEN type = 'L' THEN num_symptoms ELSE 0 END behavior_symptoms,
         DECODE(type, 'LATENT', 1, 0) latent,
         CASE WHEN type = 'LATENT' THEN num_symptoms ELSE 0 END latent_symptoms,
         DECODE(type, 'O', 1, 0) dep_labels,
         CASE WHEN type = 'O' THEN num_symptoms ELSE 0 END dep_labels_symptoms,
         DECODE(type, 'T', 1, 0) test,
         CASE WHEN type = 'T' THEN num_symptoms ELSE 0 END test_symptoms,
         DECODE(type, 'TBD', 1, 0) tbd,
         CASE WHEN type = 'TBD' THEN num_symptoms ELSE 0 END tbd_symptoms
    FROM lrg_problem_v3 p, o
    WHERE p.assigned = o.owner
    AND p.cdate BETWEEN '16-DEC-08' AND '15-JAN-09'
    AND last_label LIKE 'RDBMS_MAIN_LINUX' || '_%'
    AND lrg LIKE 'lrg' || '%'
    GROUP BY manager
    ORDER BY manager
    I tried to remove all the TO_CHAR functions but same error message was returned.
    Thanks,
    Mingying

    This version of Apex comes with database release 11.1.0.6.0
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for Linux: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    Following information might also be helpful.
    Product Build: 3.1.0.00.32
    Schema Compatibility: 2007.09.06
    NLS_CHARACTERSET: AL32UTF8
    DAD CHARACTERSET: UTF-8
    JOB_QUEUE_PROCESSES: 1000
    Thanks,
    Mingying

  • ORA-06502: when creating a index

    Hi,
    i'm trying to create an index on a partitionned table, but i'm getting this error :
    CREATE INDEX IDX_NDI_WTSCDRHISTO ON WTS_CDRHISTO(SUBSTR(NDI, GREATEST(LENGTH(NDI)-8,1))) Compress Local (
    PARTITION WTS_CDRHISTO_2009070412 NOLOGGING COMPRESS TABLESPACE INDX_CDRHISTO_7 PCTFREE 0 INITRANS 2,
    PARTITION WTS_CDRHISTO_2009070413 NOLOGGING COMPRESS TABLESPACE INDX_CDRHISTO_7 PCTFREE 0 INITRANS 2,
    PARTITION WTS_CDRHISTO_2009070414 NOLOGGING COMPRESS TABLESPACE INDX_CDRHISTO_7 PCTFREE 0 INITRANS 2,
    PARTITION WTS_CDRHISTO_2009070414 NOLOGGING COMPRESS TABLESPACE INDX_CDRHISTO_7 PCTFREE 0 INITRANS 2,
    PARTITION WTS_CDRHISTO_2010070800 NOLOGGING COMPRESS TABLESPACE INDX_CDRHISTO_7 PCTFREE 0 INITRANS 2
    PARALLEL 16;
    the error code is : ORA-06502: PL/SQL: numeric or value error: character string buffer too small ???!!!!!!
    Anyone can help me ?
    Thks in advance

    Post the section of code that is causing problem along with statements before and after the section as well.
    For now, I can take a guess that you are trying to assign this entire statement as a string to a character variable. If so, then that variable length definition is too small to hold this entire string. In PL/SQL you can define VARCHAR2 to a maximum of 32767.

  • ORA-06552 and ORA-06553 when creating a trigger

    Hey Everyone,
    I have a issue when i try and create a trigger on a view. I get this error message.
    ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-320: the declaration of the type of this expression is incomplete or malformedThis is the Desc of the view.
    Table          Column               Data Type     Length     Nullable
    NCRCPV01     ROWID               UROWID          4000     -
              LOB_ID               VARCHAR2     1     -
              PRG_ID               VARCHAR2     1     -
              PSG_ID               VARCHAR2     1     -
              SMP_ID               VARCHAR2     4     -
              PTP_ID               VARCHAR2     1     -
              COU_ISO_ID          VARCHAR2     2     -
              PLC_DOM_INT_CD          VARCHAR2     1     -
              PLC_EFFECT_DT          DATE          7     -
              PLC_EFFECT_TO_DT     DATE          7     -
              PLC_UPDT_TD          DATE          7     -
              PLC_UPDT_USER_ID     VARCHAR2     8     -
              PLC_SOFTLOCK_TS          TIMESTAMP(6)     11     -
              PLC_LATST_COL_TM     DATE          7     nullable
              PLC_HANDRATE_IN          VARCHAR2     1     nullable
              PLC_VL_MAND_ODE_IN     VARCHAR2     1     nullableThis is the SQL of the trigger im trying to exicute.
    CREATE OR REPLACE TRIGGER "UPD_NCRCPV01_TR"
       INSTEAD OF UPDATE
       ON NCRCPV01
       REFERENCING NEW AS NEW OLD AS OLD
       FOR EACH ROW
    BEGIN
       UPDATE NCADMIN.NCRCPV01@CSAHEPA_DBAAPEX.gb.tntpost.com
          SET LOB_ID = :NEW.LOB_ID,
              PRG_ID = :NEW.PRG_ID,
              PSG_ID = :NEW.PSG_ID,
              SMP_ID = :NEW.SMP_ID,
              PTP_ID = :NEW.PTP_ID,
              COU_ISO_ID = :NEW.COU_ISO_ID,
              PLC_DOM_INT_CD = :NEW.PLC_DOM_INT_CD,
              PLC_EFFECT_DT = :NEW.PLC_EFFECT_DT,
              PLC_EFFECT_TO_DT = :NEW.PLC_EFFECT_TO_DT,
              PLC_UPDT_TD = :NEW.PLC_UPDT_TD,
              PLC_UPDT_USER_ID = :NEW.PLC_UPDT_USER_ID,
              PLC_SOFTLOCK_TS = :NEW.PLC_SOFTLOCK_TS,
              PLC_LATST_COL_TM = :NEW.PLC_LATST_COL_TM,
              PLC_HANDRATE_IN = :NEW.PLC_HANDRATE_IN,
              PLC_VL_MAND_ODE_IN = :NEW.PLC_VL_MAND_ODE_IN
        WHERE ROWID = :NEW.UROWID;
    END;I find this really strange as i have created this view and trigger in my dev environment with no issues. Now when im trying to exicute the same code in my production environment im coming up against this error. The only thing that has changed is the database link in the trigger from CSPCCPA_DBAAPEX.TNTEWW.COM to CSAHEPA_DBAAPEX.gb.tntpost.com
    I have googled the error codes and it seems that the most common error is naming a column somthing like DATE, which i have not done.
    Any help here would be appreitated :)
    Thanks,
    -N.S.N.O.

    Hello,
    And are the tables (and columns) of both tables (CSPCCPA_DBAAPEX.TNTEWW.COM and CSAHEPA_DBAAPEX.gb.tntpost.com) exactly the same?
    BTW Why don't you use (the same) synonyms for those tables. Then you don't need to change your code when you move it from dev to prod...
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • ORA-01031 when creating a view

    Hi guys,
    I transported a view(custom view ZVIEW) from Development to Production and found that the view was missing the database of the production system.
    When i tried to create the same view usin SE14 am getting a warning
    ORA-01031: insufficient privileges                     
    DDL time(___1): .......119 milliseconds                
    The SQL statement was not executed                     
    Statements for View ZVIEW_STD_TIME could not be executed
    Request for ZVIEW_STD_TIME could not be executed       
    in the system the SAPR3 and OPS$PRDADM has sysdba privilege so i guess SYSCONN need not be implemented.
    Please help.
    Thanks and regards,
    Siddhartha

    Hi Rabi,
    Check below sap notes.
    Note 985607 - ORA-01031 Creating views after upgrade to Oracle 10g
    Note 1028220 - ORA-01031: Insufficient privileges despite SAPCONN role
    Regards
    Ashok

  • ORA-27102 when creating a new database

    I have a 10.2.0.4 RAC database on 64-bit Redhat Enterprise Linux AS Release 4.
    We have 32GB on both machines in this cluster. Currently there are 5 databases running, each with 1GB SGA and 256M SGA. When I try to create a new database, with the same memory requirements, I get an ORA-27102. I am sure we have set up our OS fine, according to suggestions from Oracle. Linux returns: Linux-X86_64 Error: 28: No space left on device
    $> sysctl -a
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    kernel.shmmax = 4294967295
    kernel.sem = 256 32000 100 128
    $> free
    total used free shared buffers cached
    Mem: 32890432 8599000 24291432 0 58084 6003368
    -/+ buffers/cache: 2537548 30352884
    Swap: 8385792 0 8385792
    So, why am I getting an "out of memory" message... I see 20+GB free...
    Edited by: jbednarz on Jan 14, 2009 3:08 PM

    jbednarz wrote:
    , I get an ORA-27102. Linux returns: Linux-X86_64 Error: 28: No space left on deviceIs that the complete error stack, from alert.log?
    kernel.shmall = 2097152This could be "it". This is system wide total, in pages. What is your page size?
    There might be other parameters that need increasing as you add instances. Check Oracle and linux documentation.

Maybe you are looking for

  • Is it possible to boot a 7300 with a PCI USB card with OS 8.5 on a flash drive? Thanks

    Just wondering if it's possible to run a PowerMac 7300/180 with the operating system installed on a flash drive which fits into a USB PCI card? The old hard drive finally went bad and was just wondering if there was any form of flash storage alternat

  • Restore database to another host - I have only rman backup files

    Hi all, The PC where Oracle was installed is crashed. I have only the RMAN backup pieces in other computer. I want to restore/recover this RMAN backup to other PC. I know the commands, restore database, recover database, but I've always used these co

  • Getting RMA replacement:  Most seamless way to clone/migrate?

    My new 17" MBP is defective, and Apple is cross-shipping me a replacement. Since I'll have both machines together at the same time, there are lots of ways I might migrate all my files from one to the other, and I'd like some advice on the best approa

  • Lost all my Apps and can't locate them in iTunes.

    Hi, I backed up my ipad 10 days ago and for some reason when I disconnected my ipad from my computer something must have happened because when I tried to turn it on, the battery had gone flat. When I eventually got it recharged, it asked me to restor

  • BEX EXIT VARIABLE

    hi all, IAM SATYA HAVING REQ REGARDING bex varaible user exit.i have one variable i.e Country ship from which is mandatory value ,i enter value as US ,AND TEHRE IS ANOTHER VARIABLE COUNTRYSHIPTO WERE IN THIS VARIABLE SHOULD FILLED WITH VALUES OTHER T