Unable to drop table

Hello,
I'm currently tring to drop a table using a process trigered by a button click
Icreated my button and also a "PL/SQL process" and I put
DROP TABLE &P0_TABLE_NAME. CASCADE CONSTRAINTS;
inside field "source" with ticking the checkbox "Do not validate PL/SQL code (parse PL/SQL code at runtime only)."
But when a click on the button I have the following error
ORA-06550: line 1, column 7: PLS-00103: Encountered the symbol "DROP" when expecting one of the following: begin case declare exit for goto if loop mod null pragma raise return select update while with <an identifier> <a double-quoted delimited-identifier> <a bind variable> << close current delete fetch lock insert open rollback savepoint set sql execute commit forall merge pipe
     Error      Error while dropping table
OK      
Do anyone have a clue about this ?
Debug trace is
A C C E P T: Request="Purge"
0.00: Metadata: Fetch application definition and shortcuts
0.00: alter session set nls_language="AMERICAN"
0.00: alter session set nls_territory="AMERICA"
0.00: ...NLS: Set Decimal separator="."
0.00: ...NLS: Set NLS Group separator=","
0.00: ...NLS: Set date format="DD-MON-RR"
0.00: ...Setting session time_zone to +02:00
0.00: NLS: wwv_flow.g_flow_language_derived_from=0: wwv_flow.g_browser_language=en-us
0.00: Fetch session state from database
0.01: ...Check session 2289784661666743 owner
0.01: ...Check for session expiration:
0.01: ...Metadata: Fetch Page, Computation, Process, and Branch
0.01: Session: Fetch session header information
0.01: ...Metadata: Fetch page attributes for application 121, page 2
0.01: ...Validate item page affinity.
0.03: ...Validate hidden_protected items.
0.03: ...Check authorization security schemes
0.03: Session State: Save form items and p_arg_values
0.03: ...Session State: Save "P0_TABLE_NAME" - saving same value: "STATPHI_595730051"
0.04: ...Session State: Save "P2_TABLE_NAME" - saving same value: "STATPHI_595730051"
0.04: ...Session State: Save "P2_TYPE" - saving same value: "2"
0.04: ...Session State: Save "P2_CALENDAR" - saving same value: "PA"
0.04: ...Session State: Save "P2_FILE_NAME" - saving same value: ""
0.04: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
0.04: Branch point: BEFORE_COMPUTATION
0.04: Computation point: AFTER_SUBMIT
0.04: Tabs: Perform Branching for Tab Requests
0.04: Branch point: BEFORE_VALIDATION
0.04: Perform validations:
0.04: Branch point: BEFORE_PROCESSING
0.04: Processing point: AFTER_SUBMIT
0.04: Item button "P2_PURGE_TABLE" pressed process.
0.04: ...Process "DROP TABLE": PLSQL (AFTER_SUBMIT) DROP TABLE &P0_TABLE_NAME. CASCADE CONSTRAINTS;
0.06: Encountered unhandled exception in process type PLSQL
0.06: Show ERROR page...
0.06: Performing rollback...
----

Hi user631592 ;-)
You can't used directly a DDL statment.
But you can use an EXECUTE IMMEDIATE in your process.
SO
BEGIN
EXECUTE IMMEDIATE ' DROP TABLE STATPHI_595730051';
END;
Regards

Similar Messages

  • Unable to Drop table from a corrupted Data Block

    while exporting tables i got message data block corrupted 7481. and while i was trying to drop the table, found SQL Recursive Error.
    Pls Help me. i am on the way to recreate my database..
    Thanks
    Rinson

    Is 7481 the block number?. Block corruption can be diagnosed using the CLI (Command Line Interface) dbv (database verify). You can also diagnose it by looking for the corresponding error message in the alert.log.
    Trying to recover data from a corrupt block is only possible using rman. Otherwise, the only thing you can do is to mark the block as corrupt using DBMS_REPAIR, rebuild the table and try to rescue data by recapturing it.

  • Unable to descripe the table and unable to drop the table

    Hi,
    I have a temp table that we use like staging table to import the data in to the main table through some scheduled procedures.And that will dropped every day and will be created through the script.
    Some how while I am trying to drop the table manually got hanged, There after I could not find that table in dba_objects, dba_tables or any where.
    But Now I am unable to create that table manually(Keep on running the create command with out giving any error), Even I am not getting any error (keep on running )if I give drop/desc of table.
    Can you please any one help on this ? Is it some where got stored the table in DB or do we any option to repair the table ?
    SQL> select OWNER,OBJECT_NAME,OBJECT_TYPE,STATUS from dba_objects where OBJECT_NAME like 'TEMP%';
    no rows selected
    SQL> desc temp
    Thank in advance.

    Hi,
    if this table drops then it moved DBA_RECYCLEBIN table. and also original name of its changed automatically by oracle.
    For example :
    SQL> create table tst (col varchar2(10), row_chng_dt date);
    Table created.
    SQL> insert into tst values ('Version1', sysdate);
    1 row created.
    SQL> select * from tst ;
    COL        ROW_CHNG
    Version1   16:10:03
    If the RECYCLEBIN initialization parameter is set to ON (the default in 10g), then dropping this table will place it in the recyclebin:
    SQL> drop table tst;
    Table dropped.
    SQL> select object_name, original_name, type, can_undrop as "UND", can_purge as "PUR", droptime
      2  from recyclebin
    SQL> /
    OBJECT_NAME                    ORIGINAL_NAME TYPE  UND PUR DROPTIME
    BIN$HGnc55/7rRPgQPeM/qQoRw==$0 TST           TABLE YES YES 2013-10-08:16:10:12
    All that happened to the table when we dropped it was that it got renamed. The table data is still there and can be queried just like a normal table:
    SQL> alter session set nls_date_format='HH24:MI:SS' ;
    Session altered.
    SQL> select * from "BIN$HGnc55/7rRPgQPeM/qQoRw==$0" ;
    COL        ROW_CHNG
    Version1   16:10:03
    Since the table data is still there, it's very easy to "undrop" the table. This operation is known as a "flashback drop". The command is FLASHBACK TABLE... TO BEFORE DROP, and it simply renames the BIN$... table to its original name:
    SQL> flashback table tst to before drop;
    Flashback complete.
    SQL> select * from tst ;
    COL        ROW_CHNG
    Version1   16:10:03
    SQL> select * from recyclebin ;
    no rows selected
    It's important to know that after you've dropped a table, it has only been renamed; the table segments are still sitting there in your tablespace, unchanged, taking up space. This space still counts against your user tablespace quotas, as well as filling up the tablespace. It will not be reclaimed until you get the table out of the recyclebin. You can remove an object from the recyclebin by restoring it, or by purging it from the recyclebin.
    SQL> select object_name, original_name, type, can_undrop as "UND", can_purge as "PUR", droptime
      2  from recyclebin
    SQL> /
    OBJECT_NAME                    ORIGINAL_NAME TYPE                      UND PUR DROPTIME
    BIN$HGnc55/7rRPgQPeM/qQoRw==$0 TST           TABLE                     YES YES 2006-09-01:16:10:12
    SQL> purge table "BIN$HGnc55/7rRPgQPeM/qQoRw==$0" ;
    Table purged.
    SQL> select * from recyclebin ;
    no rows selected
    Thank you
    And check this link:
    http://www.orafaq.com/node/968
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/tables011.htm
    Thank you

  • Unable to move table

    I have three tables to move from SYSTEM tablespace to USERS. But i am unable to move such tables which have long or long raw datatype columns.please suggest how to move chk and lng tables.
    SQL> CREATE TABLE THR( SNO INT );
    SQL> CREATE TABLE CHK( S NUMBER, PIC LONG RAW);
    SQL> CREATE TABLE LNG( NN NUMBER, TXT LONG);
    SQL> ALTER TABLE THR MOVE TABLESPACE USERS;
    ------ IT IS MOVED
    SQL> ALTER TABLE CHK MOVE TABLESPACE USERS;
    ERROR at line 1:
    ORA-00997: illegal use of LONG datatype
    SQL> ALTER TABLE LNG MOVE TABLESPACE USERS;
    ERROR at line 1:
    ORA-00997: illegal use of LONG datatype

    hi
    Long is depricated now u better use clob,Long raw,Long is supported in Oracle 9i for backward comaplibity,use blob,clob instead,you can have only one Long raw,Long column in table.
    SQL> create table t1 (a  long,b  number);
    Table created.
    SQL> insert into t1 values ('aaa',1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> alter table t1 move tablespace users;
    alter table t1 move tablespace users
    ERROR at line 1:
    ORA-00997: illegal use of LONG datatype
    SQL> alter table t1 modify (a  clob);
    Table altered.
    SQL> alter table t1 move tablespace users;
    Table altered.
    =======================================================
    SQL> drop table t1;
    Table dropped.
    SQL>  create table t1 (a long raw,b number);
    Table created.
    SQL>  insert into t1 values ('aaa',1);
    1 row created.
    SQL> alter table t1 move tablespace users;
    alter table t1 move tablespace users
    ERROR at line 1:
    ORA-00997: illegal use of LONG datatype
    SQL> alter table t1 modify (a  blob);
    Table altered.
    SQL> alter table t1 move tablespace users;
    Table altered. Khurram Siddiqui
    [email protected]

  • Drop table

    I created a table with tablename USER using an access to oracle converter. now I am unable to drop the table, it says invalid table name.

    These are keyword and NOT at all recommended as table name. You can find those types of words by querying
    SELECT * FROM v$reserved_words ORDER BY 1 and avoid use of these words as object name.
    However. Now you can enclose the name with a double quote to overcome the situation.
    DROP TABLE "USER"

  • Cannot drop table

    Versions are Oracle 11.2.0.1.0 and SQL Developer 4.0.0.12 on Windows 7 Ultimate SP1.
    Hi
    I'm following the CBT Nuggets SQL Fundementals training (video #11) and cannot drop a table I have just created.  The command executed and error are:
    drop table newprods;
    Error starting at line : 1 in command -
    drop table newprods
    Error report -
    SQL Error: ORA-00604: error occurred at recursive SQL level 1
    ORA-20000: Cannot drop object
    ORA-06512: at line 2
    00604. 00000 -  "error occurred at recursive SQL level %s"
    *Cause:    An error occurred while processing a recursive SQL statement
               (a statement applying to internal dictionary tables).
    *Action:   If the situation described in the next error on the stack
               can be corrected, do so; otherwise contact Oracle Support.
    As the HR user I created two tables and created a FK constraint between them.  After truncating the table with this FK, I am unable to drop it.  Even if I remove the FK, the error is the same.  Issing the command in SQL*Plus gives the same error.
    This is the first time I have created any tables since installing Oracle on this machine and is my first attempt at dropping a table.  I have not created any sequences, triggers or views based on these newly created tables.
    Does anyone have any ideas?
    Cheers

    C:\Oracle>sqlplus hr@orcl
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Sep 4 18:58:55 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> CREATE TABLE table1 (column1 VARCHAR2(20 BYTE));
    Table created.
    SQL> select * from table1;
    no rows selected
    SQL> drop table table1;
    drop table table1
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20000: Cannot drop object
    ORA-06512: at line 2
    SQL>
    Can I run a query to see if there are any triggeres on the table?
    EDIT: Ok it looks like no triggers:
    SQL> show user
    USER is "SYS"
    SQL> select * from DBA_TRIGGERS where table_name like '%table1%';
    no rows selected
    SQL> select * from USER_TRIGGERS where table_name like '%table1%';
    no rows selected

  • Unable to drop database user

    Hi All,
    I am unable to drop database user and getting the folllowing error:
    " must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables "
    I find 3 table with AQ prefix in the schema but unable to drop these table even by using "sys" user.
    Any idea how can I do that ?
    Regards,

    Hi,
    select object_name,object_type from dba_objects where owner='USERNAME' and object_name like '%AQ%';TO drop the queue table, login as the owner and
    exec DBMS_AQADM.DROP_QUEUE_TABLE(queue_table=>'PASTE_THE_OBJECT_NAME_FROM_ABOVE',force =>TRUE);Anand

  • ORA-1653: unable to extend table - but enough space for datafile

    We encountered this problem in one of our database Oracle Database 10g Release 10.2.0.4.0
    We have all datafiles in all tablespaces specified with MAXSIZE and AUTOEXTEND ON. But last week database could not extend table size
    Wed Dec  8 18:25:04 2013
    ORA-1653: unable to extend table PCS.T0102 by 128 in                 tablespace PCS_DATA
    ORA-1653: unable to extend table PCS.T0102 by 8192 in                tablespace PCS_DATA
    Wed Dec  8 18:25:04 2013
    ORA-1653: unable to extend table PCS.T0102 by 128 in                 tablespace PCS_DATA
    ORA-1653: unable to extend table PCS.T0102 by 8192 in                tablespace PCS_DATA
    Wed Dec  8 18:25:04 2013
    ORA-1653: unable to extend table PCS.T0102 by 128 in                 tablespace PCS_DATA
    ORA-1653: unable to extend table PCS.T0102 by 8192 in                tablespace PCS_DATA
    Datafile was created as ... DATAFILE '/u01/oradata/PCSDB/PCS_DATA01.DBF' AUTOEXTEND ON  NEXT 50M MAXSIZE 31744M
    Datafile PCS_DATA01.DBF had only 1GB size. Maximum size is 31GB but database did not want to extend this datafile.
    We used temporary solution and we added new datafile to same tablespace. After that database and our application started to work correctly.
    There is enough free space for database datafiles.
    Do you have some ideas where could be our problem and what should we check?
    Thanks

    ShivendraNarainNirala wrote:
    Hi ,
    Here i am sharing one example.
    SQL> select owner,table_name,blocks,num_rows,avg_row_len,round(((blocks*8/1024)),2)||'MB' "TOTAL_SIZE",
      2   round((num_rows*avg_row_len/1024/1024),2)||'Mb' "ACTUAL_SIZE",
      3   round(((blocks*8/1024)-(num_rows*avg_row_len/1024/1024)),2) ||'MB' "FRAGMENTED_SPACE"
      4   from dba_tables where owner in('DWH_SCHEMA1','RM_SCHEMA_DDB','RM_SCHEMA') and round(((blocks*8/1024)-(num_rows*avg_row_len/1024/1024)),2) > 10 ORDER BY FRAGMENTED_SPACE;
    OWNER           TABLE_NAME                        BLOCKS   NUM_ROWS AVG_ROW_LEN TOTAL_SIZE           ACTUAL_SIZE          FRAGMENTED_SPACE
    DWH_SCHEMA1     FP_DATA_WLS                        14950     168507          25 116.8MB              4.02Mb               112.78MB
    SQL> select tablespace_name from dba_segments where segment_name='FP_DATA_WLS' and owner='DWH_SCHEMA1';
    TABLESPACE_NAME
    DWH_TX_DWH_DATA
    SELECT /* + RULE */  df.tablespace_name "Tablespace",
           df.bytes / (1024 * 1024) "Size (MB)",
           SUM(fs.bytes) / (1024 * 1024) "Free (MB)",
           Nvl(Round(SUM(fs.bytes) * 100 / df.bytes),1) "% Free",
           Round((df.bytes - SUM(fs.bytes)) * 100 / df.bytes) "% Used"
      FROM dba_free_space fs,
           (SELECT tablespace_name,SUM(bytes) bytes
              FROM dba_data_files
             GROUP BY tablespace_name) df
    WHERE fs.tablespace_name   = df.tablespace_name
    GROUP BY df.tablespace_name,df.bytes
    UNION ALL
    SELECT /* + RULE */ df.tablespace_name tspace,
           fs.bytes / (1024 * 1024),
           SUM(df.bytes_free) / (1024 * 1024),
           Nvl(Round((SUM(fs.bytes) - df.bytes_used) * 100 / fs.bytes), 1),
           Round((SUM(fs.bytes) - df.bytes_free) * 100 / fs.bytes)
      FROM dba_temp_files fs,
           (SELECT tablespace_name,bytes_free,bytes_used
              FROM v$temp_space_header
             GROUP BY tablespace_name,bytes_free,bytes_used) df
    WHERE fs.tablespace_name   = df.tablespace_name
    GROUP BY df.tablespace_name,fs.bytes,df.bytes_free,df.bytes_used
    ORDER BY 4 DESC;
    set lines 1000
    col FILE_NAME format a60
    SELECT SUBSTR (df.NAME, 1, 60) file_name, df.bytes / 1024 / 1024 allocated_mb,
    ((df.bytes / 1024 / 1024) - NVL (SUM (dfs.bytes) / 1024 / 1024, 0))
    used_mb,
    NVL (SUM (dfs.bytes) / 1024 / 1024, 0) free_space_mb
    FROM v$datafile df, dba_free_space dfs
    WHERE df.file# = dfs.file_id(+)
    GROUP BY dfs.file_id, df.NAME, df.file#, df.bytes
    ORDER BY file_name;
    Tablespace                      Size (MB)  Free (MB)     % Free     % Used
    DWH_TX_DWH_DATA                     11456       8298         72         28
    FILE_NAME                                                    ALLOCATED_MB    USED_MB FREE_SPACE_MB
    /data1/FPDIAV1B/dwh_tx_dwh_data1.dbf                                 1216       1216             0
    /data1/FPDIAV1B/dwh_tx_dwh_data2.dbf                                10240       1942          8298
    SQL> alter database datafile '/data1/FPDIAV1B/dwh_tx_dwh_data2.dbf' resize 5G;
    alter database datafile '/data1/FPDIAV1B/dwh_tx_dwh_data2.dbf' resize 5G
    ERROR at line 1:
    ORA-03297: file contains used data beyond requested RESIZE value
    Although , we did moved the tables into another TB , but it doesn't resolve the problem unless we take export and drop the tablespace aand again import it .We also used space adviser but in vain .
    As far as metrics and measurement is concerned , as per my experience its based on blocks which is sparse in nature related to HWM in the tablespace.
    when it comes to partitions , just to remove fragmentation by moving their partitions doesn't help  .
    Apart from that much has been written about it by Oracle Guru like you .
    warm regards
    Shivendra Narain Nirala
    how does free space differ from fragmented space?
    is all free space considered by you to be fragmented?
    "num_rows*avg_row_len" provides useful result only if statistics are current & accurate.

  • ORA-01653: unable to extend table DISPATCH.T_EVENT_DATA by 4096 in tablespa

    Hello everybody,
    I try to explain the problem I had, because I still didn't understand real causes.
    Everything started when I got this error:
    ORA-01653: unable to extend table DISPATCH.T_EVENT_DATA by 4096 in tablespace USERS
    I'm using ASM.
    This was the situation of the tablespace USER:
    FILE NAME                                                 TB NAME   SIZE (gb)                   STATUS               
    DATA/evodb/datafile/users.261.662113927     USERS     63,999969482421875     AVAILABLE
    and this was the situation of the DATAS diskgroup:
    GR # NAME        FREE_MB    USABLE     STATE      SECTOR SIZE   BLOCKSIZE
    2     DATA     60000     60000     MOUNTED     512     4096
    That diskgroup is composed by 5 files:
    PATH       DISK#       GR NAME           FREE MB    OS MB       TOTAL MB NAME                FAILGROUP
    /dev/asm2     0     DATA          12000     48127     48127     DATA_0000     DATA_0000
    /dev/asm3     1      DATA          12000     48127     48127     DATA_0001     DATA_0001
    /dev/asm4     2     DATA          12000     48127     48127     DATA_0002     DATA_0002
    /dev/asm5     3     DATA          12000     48127     48127     DATA_0003     DATA_0003
    /dev/asm6     4     DATA          12000     48127     48127     DATA_0004     DATA_0004
    This are the information about the table got from the dba_tables table:
    OWNER     DISPATCH
    TABLE_NAME     T_EVENT_DATA
    TABLESPACE_NAME USERS
    CLUSTER_NAME     
    IOT_NAME     
    STATUS     VALID
    PCT_FREE     10
    PCT_USED     
    INI_TRANS     1
    MAX_TRANS     255
    INITIAL_EXTENT     4294967296
    NEXT_EXTENT     
    MIN_EXTENTS     1
    MAX_EXTENTS     2147483645
    PCT_INCREASE     
    FREELISTS     
    FREELIST_GROUPS     
    LOGGING     YES
    BACKED_UP      N
    NUM_ROWS     532239723
    BLOCKS     1370957
    EMPTY_BLOCKS     0
    AVG_SPACE      0
    CHAIN_CNT 0
    AVG_ROW_LEN     32
    AVG_SPACE_FREELIST_BLOCKS     0
    NUM_FREELIST_BLOCKS     0
    DEGREE     1
    INSTANCES     1
    CACHE     N
    TABLE_LOCK     ENABLED
    SAMPLE_SIZE     532239723
    LAST_ANALYZED 21/09/2009 22.45
    PARTITIONED     NO
    IOT_TYPE     
    TEMPORARY     N
    SECONDARY      N
    NESTED     NO
    BUFFER_POOL     DEFAULT
    ROW_MOVEMENT DISABLED
    GLOBAL_STATS     YES
    USER_STATS     NO
    DURATION     
    SKIP_CORRUPT     DISABLED
    MONITORING     YES
    CLUSTER_OWNER     
    DEPENDENCIES     DISABLED
    COMPRESSION     DISABLED
    COMPRESS_FOR     
    DROPPED      NO
    READ_ONLY     NO
    So, my question is:
    Why did it happen?
    Why the table was unable to allocate the space? From what I can see the space was there.
    I alstro tried an ALTER TABLESPACE USER COALESCE, but with no luck.
    To solve the problem, I had to create another tablespace and put there the T_EVENT_DATA table.
    Looking forward to read some answer,
    thanks in advance!

    There can be two reasons:
    1.) Datafile is unable to extend as the auto-extend is set to NO.
    2.) Datafile reached to the MAXSIZE provided at the datafile creation.
    Query dba_data_files view and confirm this.
    Regards.

  • Unable to extend table ONT.MLOG$_OE_ORDER_LINES_ALL

    Can someone help me on this one? I had the below error, and most of the references I've looked up suggests that I drop and recreate the table... Are there any impacts if I drop the log? thanks
    ORA-12096: error in materialized view log on "ONT"."OE_ORDER_LINES_ALL"
    ORA-01653: unable to extend table
    ONT.MLOG$_OE_ORDER_LINES_ALL by 5 in tablespace ONTD

    Hi,
    I would try extending the tablespace first:
    "alter tablespace xxx add datafile yyy";
    ORA-12096: error in materialized view log on "string"."string"
    Cause: There was an error originating from this materialized view log. One possible cause is that schema redefinition has occurred on the master table and one or more columns in the log is now a different type than corresponding master column(s). Another possible cause is that there is a problem accessing the underlying materialized view log table.
    Action: Check further error messages in stack for more detail about the cause. If there has been schema redefinition, drop the materialized view log and recreate it.
    Hope this helps. . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference":
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • ORA-1688: unable to extend table SYS.WRH

    Hi,
    on 10g R2 I have following error in alertlog :
    ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY partition WRH$_ACTIVE_3192442214_8801 by 128 in                 tablespace SYSAUX
    here :
    I found :
    BEGIN
    DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE (low_snap_id => 22,
    high_snap_id => 32, dbid => 3310949047);
    END;
    Should wxe do it regularly ? Oracle does'nt it regularly ? In DB control can we drop the snapshots ?
    Any other suggestion for ORA-1688: unable to extend table SYS.WRH error ?
    Thank you.

    user522961 wrote:
    Hi,
    on 10g R2 I have following error in alertlog :
    ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY partition WRH$_ACTIVE_3192442214_8801 by 128 in                 tablespace SYSAUX
    here :
    I found :
    BEGIN
    DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE (low_snap_id => 22,
    high_snap_id => 32, dbid => 3310949047);
    END;
    Should wxe do it regularly ? Oracle does'nt it regularly ? In DB control can we drop the snapshots ?
    Any other suggestion for ORA-1688: unable to extend table SYS.WRH error ?
    Thank you.Why are you starting a duplicate thread from one you started 7+ hours earlier?
    ORA-1688: unable to extend table SYS.WRH$_ACTIVE_SESSION_HISTORY

  • DATAIMP-ERR-1124: Unable to import table "S_CS_ANSWR_LANG"

    Hi all,
    hopefully can someone here help me. I can not manage to make the Database Configuration successfully til now (already 2 months working on this, because I can't get help in any forum most of the time).
    After creating tablespaces and running the grantusr.sql I run the Database Configuration Wizard. It stops on importing Siebel seed data (transl) and it gives me the following error in the log file data_prim_lang:
    2012-04-26 06:34:39 C:\sba80\siebsrvr\bin\dataimp.exe /u SADMIN /p ***** /c Siebel_test_DSN /d SIEBEL /f C:\sba80\dbsrvr\ENU\seed_locale.dat /w n /q 100 /h Log /x f /i C:\sba80\dbsrvr/ENU/seed_locale.inp /l C:\sba80\siebsrvr\log\install\output/dataimp_prim_lang.log /A 1
    2012-04-26 06:34:39
    2012-04-26 06:34:39 Connecting to the database...
    2012-04-26 06:34:39 Connected.
    2012-04-26 06:34:39
    2012-04-26 06:34:39 Importing C:\sba80\dbsrvr\ENU\seed_locale.dat ...
    2012-04-26 06:34:39
    2012-04-26 06:34:39 Importing Tables
    2012-04-26 06:34:39 SARM is OFF -change param SARMLevel to enable
    2012-04-26 06:34:39 SARM Client is OFF -change param SARMClientLevel to enable
    2012-04-26 06:34:39 SARM is OFF -change param SARMLevel to enable
    2012-04-26 06:34:39 SARM Client is OFF -change param SARMClientLevel to enable
    2012-04-26 06:34:39 SARM is OFF -change param SARMLevel to enable
    2012-04-26 06:34:39 SARM Client is OFF -change param SARMClientLevel to enable
    2012-04-26 06:34:39 SQL Statement:
    select t.ROW_ID, t.CREATED, t.CREATED_BY, t.LAST_UPD, t.LAST_UPD_BY, t.MODIFICATION_NUM, t.CONFLICT_ID, t.ANSWER, t.ANSWR_ID, t.LANG_ID, t.DB_LAST_UPD, t.DB_LAST_UPD_SRC from SIEBEL.S_CS_ANSWR_LANG t
    2012-04-26 06:34:39 [DataDirect][ODBC Oracle driver][Oracle]ORA-00942: table or view does not exist
    2012-04-26 06:34:39
    2012-04-26 06:34:39 S0002: [DataDirect][ODBC Oracle driver][Oracle]ORA-00942: table or view does not exist
    2012-04-26 06:34:39
    2012-04-26 06:34:39 DATAIMP-ERR-1124: Unable to import table "S_CS_ANSWR_LANG" (UTLOdbcOutputBind select).
    2012-04-26 06:34:39 Error in ProcessImportFile (UTLDataImportFile).
    2012-04-26 06:34:39 Error in ProcessImportFile...
    2012-04-26 06:34:39 (logapi.cpp (184) err=1 sys=0) SBL-GEN-00001: (logapi.cpp: 184) error code = 1, system error = 0, msg1 = (null), msg2 = (null), msg3 = (null), msg4 = (null)
    I guess that the command line I executed to drop some tablespaces (SIEBELINDEX and SIEBELDATA) dropped the links to these tablespaces and the table which causes the error. I used for that:
    drop tablespace siebelindex including contents
    and datafiles cascade constraints;
    Can someone confirm me, if this can cause the error?. I am not an Oracle specialist.
    I would really appreciate if somebody helps me. I am itrying to do this since months on Windows. Installed already the Oracle Client as well, Database connection works.
    What should I do in this case if the Wizard doesn't run anymore because of this error?...I wouldn't like to install and reinstall what I already installed (Siebel Gateway, Siebel Enterprise, Siebel DB, etc. it's a lot of work and stress. Please help me :-(.

    I suggest you the following:
    1. recreate your tablespaces to make sure there is no previous data imported or tables created.
    2. rerun grantusr.sql
    3. make a backup of all master_*.ucf files under siebsrvr/bin folder
    4. delete all master_*.ucf files under siebsrvr/bin folder
    5. make a backup of the siebsrvr/log/install folder.
    6. remove the siebsrvr/log/install folder.
    7. launch the db config wizard and check if it works now.
    I suspect there is some old parameter being used from your previous tablespaces.
    If above is not helpful, provide the contents of the log file generated when process failed and upgwiz.log.
    Hope it helps,
    Wilson

  • Drop Table :ORA-00604: error occurred at recursive SQL level 1

    Hi,
    When I am trying to drop a table, getting the following error:
    SQL> drop table drp_test;
    drop table drp_test
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01422: exact fetch returns more than requested number of rows
    This is applicable even when I am trying to drop a table as sys user. I am not able to drop any table within this database. Previously I was able to carry this operation successfully.
    Database Version: 10.2.0.1.0
    OS: Linux
    Thanks in advance for your valuable time.
    Regards,
    Joy

    Hi Anurag,
    I was unable to access net and hence is the delay in reply. Kindly suggest me regarding the level of trace to be generated.
    Regards,
    Joy

  • UCM - Unable to create table 'WebdavUserPaths'.

    Hi,
    we have UCM Version:10.1.3.5.1 (091014) (Build:7.2.4.29). It runs on production environment and also we have a test instance.
    It runs fine for long time. Yesterday I stopped the content server on test environment. Problem is that I am not able to start it anymore. While starting I am receiving this error:
    Unable to create table 'WebdavUserPaths'. ORA-00955: name is already used by an existing object
    ORA-00955: name is already used by an existing object
    intradoc.common.ServiceException: !csDbUnableToPerformAction_create,WebdavUserPaths!$ORA-00955: name is already used by an existing object
    While analyzing this, I found there is the table WebdavUserPaths in the database and it is empty. This table is present in both databases - PROD and also in TEST. In both envs it is empty.
    I found out that when I disable CoreWebdav component in ComponentWizard, then the content server starts up fine, bud WebDav is not working of course...
    I would need to solve this issue, but I do not want to start immediately dropping that tables, etc... without knowing what is it used for, why content server wants to recreate the tables, etc...
    Any body has an ideas?
    Thanks.

    Thanks for pointing me towards dba_lobs
    SQL> select TABLE_NAME,INDEX_NAME from dba_lobs where OWNER='AEE' and index_name like 'LI_AURULD%';
    TABLE_NAME INDEX_NAME
    BIN$XdjCvAyQhMrgQBCsZat/dQ==$0 LI_AURULD_RULEDATA
    I purged the recyclebin and all was ok

  • Unable to drop spatial index

    Hi
    In my Oracle 11.2 Test database, i had accidentally deleted the base tables of a Spatial Domain index that starts with MDRT$.
    I am unable to drop or rebuild the index. I even tried dropping the schema , however the query just hangs forever for both
    SQL> drop index Geo1_ID_1 force;
    SQL> drop user geonom cascade;I checked the AWR and ASH report , those sql are not listed there .
    Please Suggest !

    hi,
    I'm grasping at straws here, but you might want to try recreating the user_sdo_geom_metadata entry. When you do, make sure there aren't any spaces in the table_name or column_name. It looks OK though from what you printed out.
    Also, you might want to consider leaving off the sdo_numtiles and sdo_maxlevel. Oracle is no longer recommending the use of hybrid indexes in almost all cases.
    regards,
    dan

Maybe you are looking for

  • Mail rules work for some users, don't work for others

    Ready to pull my hair out over this one: Leopard to Snow Leopard upgrade went uneventfully, except for the fact that server-side mail rules (accessed via browser at FQDN -> Mail Rules) work for several users (two, to be exact) and don't for the rest

  • Can't open file

    When I try to open a document from the online class I'm taking, I get the following error message: "Adobe Reader could not open 'Case StudyFootball Muscle Gain.doc' because it is either not a supported file type or because the file has been damaged (

  • Can I add a point cloud to a 3D PDF?

    I created a 3D model based off of a point cloud and I want to include the point cloud in the PDF. I already exported the Revit model into the PDF. Thanks.

  • Back episodes not showing up in iTunes

    Since switching to a FeedBurner feed, only the most recent 3 of my 59 episodes are showing up in the iTunes Store. The RSS feed that iTunes reads from is still working fine, subscription is possible, so what could be causing this limited display? www

  • Can I sell my 2010 MacBook Pro back to Apple?

    I really want to get the 13" macbook pro. My current laptop is in great condition, 2.53 GHz, 4GB RAM, 500 GB hard drive.