Restore table

Dear All,
Executed the following query in the ABAP Editor.
EXEC SQL.
ALTER TABLE SAPONE.MARA
MOVE TABLESPACE PSAPONE
ENDEXEC.
Now the Table got corrupted and it is leading to dump while trying to view the table records. Here i'm moving the MARA from the same tablespace to PSAPONE.
Can any one explain, how to restore the table.
thanks & Regards
Mahesh

Hi,
I've activated the table from SE14, but still i'm noticing the same error
thank u.

Similar Messages

  • How restore table description in DDIC from DB  ?

    How restore table description in DDIC from DB  in tools ABAP Workbench ?

    Hi  Igor,
    your question was:
    How restore table description in DDIC from DB in tools ABAP Workbench ?
    (Posted on 30-Apr-2010)
    I you still have not solved this problem, then please can you explain it?
    Thanks and regards,
    Sachin.

  • BRTools or SQLPlus to restore table after unfortunate tablespace drop?

    We have had an unfortunate incident after an upgrade here.
    I assume something went wrong during the upgrade, which left a lot of tables assigned to a table type which can not be selected and has description «Repositoryswitch tablespace 700». There are four table types with this description; SLDEF, SLEXC, SSDEF and SSEXC.
    The table space was dropped a couple of days after the upgrade. However, there were tables in this table space, and some of them had content too, so recreating the tables is not sufficient, we have to get the content back as well. Among the tables were E071K which is vital for the transport system.
    Now our basis people have recreated the affected tables in production and restored a backup from before the tablespace drop to our sandbox system. Unfortunately I have been given the task of figuring out how we best can restore data (table contents) from the affected tables into production.
    SQLPlus is an option, and currently the one I am leaning towards. However, since BRTools is a dedicated database management tool I have tried to figure out whether it would be possible to do this using BRTools and whether BRTools does some additional administration which will not be done by SQLPlus - giving us new headaches.
    To make matters worse they did a full restore of our test system so we don't have any systems where we can test our approach!

    Sunny Pahuja wrote:
    > First of all how you deleted the tablespace because if tablespace has some data then BRtools should have given you some warning.
    Let me just state for the record that it wasn't me
    I'm an ABAP and Business Workflow developer, not a basis person.
    I've talked to one of the DB experts here, and she will use SQLPlus and select data from the restored tablespace into the production table space.
    Stefan Koehler wrote:
    > So it is very easy to recover without any additional hacks by using Transporting Tablespaces.
    That would probably be our preferred solution if we could be sure that no new data had been created in production after the tables were restored there to reduce the problems for users (program crashes). The mentioned DB expert said this option would overwrite the entire table contents, like a binary copy, so we decided to go for the other solution using selection from one database into another.
    Thank you both for your help. Peers are invaluable!

  • RESTORE Table replication in SAP HANA Via SLT

    Hi Experts,
    Please suggest how we can restore Replication of a Table if the same has been deleted from Tables RS_STATUS with in the same schema.
    Thanks

    Hi Rocky,
    Run the below command from SQLEditor:
    insert into <schema>."RS_ORDER" values(<your_table>, null, 'C');
    Or re-load the table  as per below thread.
    http://scn.sap.com/thread/2146829
    Regards,
    V Srinivasan

  • Urgent -- need to restore table from full database backup

    Hello,
    Can somebody tell me the process for restoring just a table from a full database backup?
    I did a full online database backup yesterday, and one of my tables got ruined today. I need to restore it as soon as possible, but I don't know how. When I tried flashback tables, it said that feature wasn't enabled. Should I restore the datafile or the tablespace?
    Thanks much,
    Nora

    If you only want to recover the table and not the other objects in the tablespace, and assuming the table was damaged by a user statement (and not, say, block corruption), you would need to recover your backup to a different system, export the table that was damaged, and import the table into your real production database. If you can recover the entire tablespace to an earlier point in time, or if you can lose some committed changes to other database objects, you may have other options.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Restore tables from dropped tablespace

    I have a tablespace that has been dropped and re-created.
    I found out that there are some tables in the dropped tablespace that I'd like to get back.
    Is there a way to do this using RMAN ? I have an rman backup of the tablepsace from a few days ago.

    Too bad since you dropped the tablespace, you can't use RMAN Tablespace Point In Time Recovery. (TSPITR)
    You have to do whole database Point-In-Time Recovery using Until clause of RMAN restore
    until Clause
    If you have FLASHBACK DATABASE turn on, that's easier.
    User-Managed Flashback Features of Oracle

  • Hiding and restoring table columns from file?

    how i handle hiding and unhiding columns in a jtable is that i have a checkbox for each column, depending on which is checked "on" the tablecolumn is found and added to a vector and removed from the table.
    when the checkbox is checked "off" this vector is searched for the correct tablecolumn, and then added back to the table. this works fine.
    when i close out of the program, i go thru the table and write the visible column names along with its size to file.
    when i re-open the program, i create the table normally, then go thru the file and hide(remove) the tablecolumns found in it..this works fine.
    but when i go back to this checkbox list and try to unhide the tablecolumn, i get an exception
    java.lang.IllegalArgumentException: Cannot format given Object as a Number
         at java.text.NumberFormat.format(NumberFormat.java:219)
         at java.text.Format.format(Format.java:133)
         at javax.swing.JTable$DoubleRenderer.setValue(JTable.java:3397)
         at javax.swing.table.DefaultTableCellRenderer.getTableCellRendererComponent(DefaultTableCellRenderer.java:160)
         at javax.swing.JTable.prepareRenderer(JTable.java:3731)
         at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1149)
         at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1051)
         at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974)
         at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
         at javax.swing.JComponent.paintComponent(JComponent.java:541)
         at javax.swing.JComponent.paint(JComponent.java:808)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JViewport.paint(JViewport.java:722)
         at javax.swing.JComponent.paintChildren(JComponent.java:647)
         at javax.swing.JComponent.paint(JComponent.java:817)
         at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
         at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
         at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
         at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
         at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)before i unhide the columns, the table is already populated with values. so it might have something to do with that...cuz there is no problems unhiding them if the table contains no data
    any ideas?
    thanks

    If you're interested, this method hides a table column without any modifications of its content:
       public static void setTableColumnVisible(JTable table, int col,                                                                             
                                                  boolean visible, int width) {
          try {
             TableColumn column = table.getColumnModel().getColumn(col);
             if (!visible) {
                column.setMinWidth(0);
                column.setWidth(0);
                column.setMaxWidth(0);
                column.setPreferredWidth(0);
             else {
                column.setWidth(width);
                column.setPreferredWidth(width);
          catch(Exception e) {
             e.printStackTrace();
       }Method use:
    . setTableColumnVisible(table, col, false, 0) hides the column
    . setTableColumnVisible(table, col, true, 100) restores the column to its size of 100
    Hope this helped,
    Regards.

  • Backup/Restore Tables

    hi experts,
    How can I Backup/Restore MaxDB Tables? Actually I want to copy Tables along data from instance to another.
    Please give me step by step procedure to achieve the task.
    thanks in advance
    nikhil

    Hello,
    to backup and restore a database you can use the dbmcli http://maxdb.sap.com/doc/7_7/44/dcdbec10916c31e10000000a114a6b/content.htm.
    When you want to use the loader to backup some tables you have to keep in mind that the loader is an ETL tool and was not designed for backup purposes.
    Things like consistence between tables are not guaranteed and you have to resolve this in your application.
    The loadercli and the dbmcli can be used via JDBC using the powertoys extension.
    http://maxdb.sap.com/doc/7_7/44/dcdbec10916c31e10000000a114a6b/content.htm
    http://maxdb.sap.com/doc/7_7/46/7bc39ee97150d1e10000000a155369/content.htm
    Best Regards
      Wolfgang

  • Stored Outlines & Restore Table Stats

    Hi all,
    I would like to know how restoring of table stats change execution plans when stored outlines are in place?
    DB version is 10.2.0.4.
    NAME                                 TYPE                             VALUE
    optimizer_dynamic_sampling           integer                          0
    optimizer_features_enable            string                           10.2.0.4
    optimizer_index_caching              integer                          0
    optimizer_index_cost_adj             integer                          65
    optimizer_mode                       string                           FIRST_ROWS_10
    optimizer_secure_view_merging        boolean                          TRUE
    query_rewrite_enabled                string                           TRUE
    star_transformation_enabled          string                           FALSE
    Following actions were done last month:
    1. dbms_stats.gather_table_stats(schema IMANAGE, Table DIT_TRUSTEE)
    2. dbms_stats.lock_table_stats(schema IMANAGE, Table DIT_TRUSTEE)
    3. Once the desired execution plan for Query 1 (e.g. sql_id=ah8nzqhyu7xh4) was in V$SQL and was used by query, I created a Stored Outline using DBMS_OUTLN.create_outline, and enabled outline by setting use_stored_outlines to the desired outline category.
    4. Every thing remained fine for almost 30-35 days
    Today, there was another query (e.g. sql_id=7anr84k12d5rt, using same DIT_TRUSTEE table) whose  query plan got changed. This query didn't have any stored outline in place and was performing without any problem earlier. So, I gathered stats for the same table (DIT_TRUSTEE) after unlocking its stats. It didn't help. So, I thought to restore old stats against which query used to perform better while also rebuilt some indexes. After the restore of table stats (DIT_TRUSTEE) to a date which was earlier than the date of creation of 1st stored outline, the execution plan of query 1 (e.g. sql_id=ah8nzqhyu7xh4) got changed. Can we know the reason why it got changed? I was under the impression that any change in stats doesn't impact the execution plan if stored outline is in place for a query. But it looked like this wasn't the case.
    It would be good if someone can explain or share their experiences.
    regards,
    Anjum

    Hi,
    The query against SQL_ID=ah8nzqhyu7xh4 is:
    SELECT imanage.DIT_TRUSTEE.CREATED_TIME, imanage.DIT_TRUSTEE.DIT_CLASS, imanage.DIT_TRUSTEE.DOES_PASSWORD_EXPIRE, imanage.DIT_TRUSTEE.DOMAIN, imanage.DIT_TRUSTEE.FORCE_PASSWORD_CHANGE, imanage.DIT_TRUSTEE.HOME_LIBRARY, imanage.DIT_TRUSTEE.IS_DELETED, imanage.DIT_TRUSTEE.IS_ENABLED, imanage.DIT_TRUSTEE.IS_LEAF_NODE, imanage.DIT_TRUSTEE.LABEL_F21011, imanage.DIT_TRUSTEE.LOGIN_LOCKOUT_TIME, imanage.DIT_TRUSTEE.MODIFIED_TIME, imanage.DIT_TRUSTEE.PARENT_TRUSTEE_RSID, imanage.DIT_TRUSTEE.PASSWORD_F21015, imanage.DIT_TRUSTEE.PASSWORD_FAIL_COUNT, imanage.DIT_TRUSTEE.PASSWORD_MODIFIED_TIME, imanage.DIT_TRUSTEE.RDN, imanage.DIT_TRUSTEE.REPLICATION_ID, imanage.DIT_TRUSTEE.SID, imanage.DIT_TRUSTEE.SYNCHRONIZE_ID, imanage.DIT_TRUSTEE.SYNCHRONIZED_TIME, imanage.DIT_TRUSTEE.TRUSTEE_TYPE, imanage.DIT_TRUSTEE.UID_F21024, imanage.DIT_TRUSTEE.WORKSPACE_LIBRARY, imanage.DIT_TRUSTEE.WORKSPACE_RSID, imanage.DIT_TRUSTEE.IS_WORKSPACE_LIBRARY_INHERITED, imanage.DIT_TRUSTEE.IS_HOME_LIBRARY_INHERITED, imanage.DIT_TRUSTEE.S_CCSSBL_LBRRY_LST_NHRT_F60326, imanage.DIT_TRUSTEE.NAME_FIRST, imanage.DIT_TRUSTEE.NAME_MIDDLE, imanage.DIT_TRUSTEE.NAME_LAST, imanage.DIT_TRUSTEE.NAME_FULL, imanage.DIT_TRUSTEE.NAME_SUFFIX, imanage.DIT_TRUSTEE.NAME_SALUTATION, imanage.DIT_TRUSTEE.GENDER, imanage.DIT_TRUSTEE.JOB_TITLE, imanage.DIT_TRUSTEE.ANNIVERSARY, imanage.DIT_TRUSTEE.BIRTHDATE, imanage.DIT_TRUSTEE.ASSISTANT_RSID, imanage.DIT_TRUSTEE.LOCALE_LANGUAGE, imanage.DIT_TRUSTEE.LOCALE_COUNTRY, imanage.DIT_TRUSTEE.LOCALE_TIMEZONE, imanage.DIT_TRUSTEE.EMAIL_1, imanage.DIT_TRUSTEE.EMAIL_2, imanage.DIT_TRUSTEE.EMAIL_3, imanage.DIT_TRUSTEE.EMAIL_FORMAT_1, imanage.DIT_TRUSTEE.EMAIL_FORMAT_2, imanage.DIT_TRUSTEE.EMAIL_FORMAT_3, imanage.DIT_TRUSTEE.IM_ID, imanage.DIT_TRUSTEE.PHONE_HOME, imanage.DIT_TRUSTEE.PHONE_BUSINESS, imanage.DIT_TRUSTEE.PHONE_MOBILE, imanage.DIT_TRUSTEE.PHONE_PAGER, imanage.DIT_TRUSTEE.PHONE_OTHER, imanage.DIT_TRUSTEE.FAX_HOME, imanage.DIT_TRUSTEE.FAX_BUSINESS, imanage.DIT_TRUSTEE.FAX_OTHER, imanage.DIT_TRUSTEE.MAILING_ADDRESS, imanage.DIT_TRUSTEE.BA_DEPARTMENT, imanage.DIT_TRUSTEE.BA_LOCATION, imanage.DIT_TRUSTEE.BA_COMPANY, imanage.DIT_TRUSTEE.BA_STREET_1, imanage.DIT_TRUSTEE.BA_STREET_2, imanage.DIT_TRUSTEE.BA_POBOX, imanage.DIT_TRUSTEE.BA_CITY, imanage.DIT_TRUSTEE.BA_STATE, imanage.DIT_TRUSTEE.BA_COUNTRY, imanage.DIT_TRUSTEE.BA_POSTAL_CODE, imanage.DIT_TRUSTEE.HA_STREET_1, imanage.DIT_TRUSTEE.HA_STREET_2, imanage.DIT_TRUSTEE.HA_POBOX, imanage.DIT_TRUSTEE.HA_CITY, imanage.DIT_TRUSTEE.HA_STATE, imanage.DIT_TRUSTEE.HA_COUNTRY, imanage.DIT_TRUSTEE.HA_POSTAL_CODE, imanage.DIT_TRUSTEE.WP_HOME, imanage.DIT_TRUSTEE.WP_BUSINESS, imanage.DIT_TRUSTEE.WP_OTHER, imanage.DIT_TRUSTEE.NE_DELIVERY_MODE_IMMEDIATE, imanage.DIT_TRUSTEE.NE_DELIVERY_MODE_SUMMARY, imanage.DIT_TRUSTEE.NE_USER_PREFERENCE, imanage.DIT_TRUSTEE.NE_USER_SUMMARY_TIME, imanage.DIT_TRUSTEE.NE_COPY_TO_ASSISTANT, imanage.DIT_TRUSTEE.IS_EXTERNAL, imanage.DIT_TRUSTEE.IS_IS_EXTERNAL_INHERITED, imanage.DIT_TRUSTEE.NOTES, imanage.DIT_TRUSTEE.LOCATION_RSID, imanage.DIT_TRUSTEE.IS_ALL_IP_VALID, imanage.DIT_TRUSTEE.LAST_LOGON_TIME, imanage.DIT_TRUSTEE.S_HM_PG_WRKSPC_NHR_F4294966291, imanage.DIT_TRUSTEE.S_PRFRNCS_FCLTY_NH_F4294966292, imanage.DIT_TRUSTEE.HOME_PAGE_WORKSPACE, imanage.DIT_TRUSTEE.PREFERENCES_FACILITY, imanage.DIT_TRUSTEE.P_NEW_ITEM_INDICATOR, imanage.DIT_TRUSTEE.P_PWD_QUESTION, imanage.DIT_TRUSTEE.P_PWD_ANSWER, imanage.DIT_TRUSTEE.X_ECF_USER, imanage.DIT_TRUSTEE.X_DEPARTMENTS, imanage.DIT_TRUSTEE.X_TP_CLASSIFICATION, imanage.DIT_TRUSTEE.X_IMR_ENABLED_TIME, imanage.DIT_TRUSTEE.X_CAN_MANAGE_COI, imanage.DIT_TRUSTEE.X_CAN_ADD_THIRD_PARTY, imanage.DIT_TRUSTEE.X_IS_SECURITY_ADMINISTRATOR, imanage.DIT_TRUSTEE.X_IS_A_AND_S_DIRECT_LOAD, imanage.DIT_TRUSTEE.X_IS_ECF_DIRECT_LOAD, imanage.DIT_TRUSTEE.X_IS_NATIVE_REPOSITORY, imanage.DIT_TRUSTEE.X_CLIENT_CATEGORY, imanage.DIT_TRUSTEE.X_IS_ECF2_USER, imanage.DIT_TRUSTEE.X_IS_ECF2_ADMIN, imanage.DIT_TRUSTEE.X_CWS_UNIT, imanage.DIT_TRUSTEE.X_XCHANGING_ID, imanage.DIT_TRUSTEE.X_IS_DOCUMENT_FILE_VIEWER, imanage.DIT_TRUSTEE.X_IS_CWS_USER
    FROM imanage.DIT_TRUSTEE
    WHERE ((imanage.DIT_TRUSTEE.WORKSPACE_RSID = :"SYS_B_0") AND (UPPER(imanage.DIT_TRUSTEE.RDN) = :1)) ORDER BY imanage.DIT_TRUSTEE.NAME_FIRST ASC, imanage.DIT_TRUSTEE.NAME_LAST ASC, imanage.DIT_TRUSTEE.UID_F21024 ASC, imanage.DIT_TRUSTEE.RDN ASC
    which shows the bind vars in place.
    while definition of index IX_DIT_TRUSTEE_6 is:
    CREATE INDEX "IMANAGE"."IX_DIT_TRUSTEE_6" ON "IMANAGE"."DIT_TRUSTEE" ("WORKSPACE_RSID", "DIT_CLASS", "SID") TABLESPACE "REPOS_INDX" PCTFREE 10INITRANS 2 MAXTRANS 255 STORAGE ( INITIAL 512K BUFFER_POOL DEFAULT) LOGGING LOCAL
    Now, I below details explaining the index it started using despite outline in place:
    SQL> select sql_id, HASH_VALUE, CHILD_NUMBER, users_executing from v$sql where PLAN_HASH_VALUE=2563299851;
    SQL_ID        HASH_VALUE CHILD_NUMBER USERS_EXECUTING
    ah8nzqhyu7xh4 1034155524            1               0
    SQL> SELECT hash_value, child_number, sql_text FROM v$sql WHERE sql_id='ah8nzqhyu7xh4';
    HASH_VALUE CHILD_NUMBER
    SQL_TEXT
    1034155524            1
    SELECT imanage.DIT_TRUSTEE.CREATED_TIME, imanage.DIT_TRUSTEE.DIT_CLASS, imanage.DIT_TRUSTEE.DOES_PASSWORD_EXPIRE, imanage.DIT_TRUSTEE.DOMAIN, imanage.DIT_TRUSTEE.FORCE_PASSWORD_CHANGE, imanage.DIT_TRU
    STEE.HOME_LIBRARY, imanage.DIT_TRUSTEE.IS_DELETED, imanage.DIT_TRUSTEE.IS_ENABLED, imanage.DIT_TRUSTEE.IS_LEAF_NODE, imanage.DIT_TRUSTEE.LABEL_F21011, imanage.DIT_TRUSTEE.LOGIN_LOCKOUT_TIME, imanage.D
    IT_TRUSTEE.MODIFIED_TIME, imanage.DIT_TRUSTEE.PARENT_TRUSTEE_RSID, imanage.DIT_TRUSTEE.PASSWORD_F21015, imanage.DIT_TRUSTEE.PASSWORD_FAIL_COUNT, imanage.DIT_TRUSTEE.PASSWORD_MODIFIED_TIME, imanage.DIT
    _TRUSTEE.RDN, imanage.DIT_TRUSTEE.REPLICATION_ID, imanage.DIT_TRUSTEE.SID, imanage.DIT_TRUSTEE.SYNCHRONIZE_ID, imanage.DIT_TRUSTEE.SYNCHRONIZED_TIME, imanage.DIT_TRUSTEE.TRUSTEE_TYPE, imanage.DIT_TRUS
    TEE.UID_F21024, imanage.DIT_TRUSTEE.WORKSPACE_LIBRARY, imanage.DIT_TRUSTEE.WORKSPACE_RSID, imanage.DIT_TRUSTEE.IS_WORKSPACE_LIBRARY_INHERITED, imanage.DIT_TRUSTEE.IS_HOME_LIBRARY_INHERITED, imanage.DI
    SQL> SELECT * FROM table(DBMS_XPLAN.DISPLAY_CURSOR('ah8nzqhyu7xh4',1));
    PLAN_TABLE_OUTPUT
    SQL_ID  ah8nzqhyu7xh4, child number 1
    SELECT imanage.DIT_TRUSTEE.CREATED_TIME, imanage.DIT_TRUSTEE.DIT_CLASS,
    imanage.DIT_TRUSTEE.DOES_PASSWORD_EXPIRE, imanage.DIT_TRUSTEE.DOMAIN,
    imanage.DIT_TRUSTEE.FORCE_PASSWORD_CHANGE, imanage.DIT_TRUSTEE.HOME_LIBRARY,
    imanage.DIT_TRUSTEE.IS_DELETED, imanage.DIT_TRUSTEE.IS_ENABLED,
    imanage.DIT_TRUSTEE.IS_LEAF_NODE, imanage.DIT_TRUSTEE.LABEL_F21011,
    imanage.DIT_TRUSTEE.LOGIN_LOCKOUT_TIME, imanage.DIT_TRUSTEE.MODIFIED_TIME,
    imanage.DIT_TRUSTEE.PARENT_TRUSTEE_RSID, imanage.DIT_TRUSTEE.PASSWORD_F21015,
    imanage.DIT_TRUSTEE.PASSWORD_FAIL_COUNT, imanage.DIT_TRUSTEE.PASSWORD_MODIFIED_TIME,
    imanage.DIT_TRUSTEE.RDN, imanage.DIT_TRUSTEE.REPLICATION_ID, imanage.DIT_TRUSTEE.SID,
    imanage.DIT_TRUSTEE.SYNCHRONIZE_ID, imanage.DIT_TRUSTEE.SYNCHRONIZED_TIME,
    imanage.DIT_TRUSTEE.TRUSTEE_TYPE, imanage.DIT_TRUSTEE.UID_F21024,
    imanage.DIT_TRUSTEE.WORKSPACE_LIBRARY, imanage.DIT_TRUSTEE.WORKSPACE_RSID,
    imanage.DIT_TRUSTEE.IS_WORKSPACE_LIBRARY_INHERITED,
    imanage.DIT_TRUSTEE.IS_HOME_LIBRARY_INHERITED, imanage.DI
    Plan hash value: 2563299851
    | Id  | Operation                    | Name                 | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT             |                      |       |       |     4 (100)|          |
    |   1 |  SORT ORDER BY               |                      |     1 |   248 |     4  (25)| 00:00:01 |
    |*  2 |   TABLE ACCESS BY INDEX ROWID| DIT_TRUSTEE          |     1 |   248 |     3   (0)| 00:00:01 |
    |*  3 |    INDEX RANGE SCAN          | DIT_TRUSTEE_TST1_IDX |     1 |       |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter("DIT_TRUSTEE"."WORKSPACE_RSID"=:SYS_B_0)
       3 - access("DIT_TRUSTEE"."SYS_NC00096$"=:1)
    Note
       - outline "SYS_OUTLINE_13100417531513606" used for this statement
    38 rows selected.
    Definition of index DIT_TRUSTEE_TST1_IDX is:
    CREATE INDEX "IMANAGE"."DIT_TRUSTEE_TST1_IDX" ON "IMANAGE"."DIT_TRUSTEE" (UPPER("RDN")) TABLESPACE "REPOS_INDX" PCTFREE 10 INITRANS 2 MAXTRANS 255STORAGE ( INITIAL 512K BUFFER_POOL DEFAULT) LOGGING LOCAL
    I didnt want the query to use index DIT_TRUSTEE_TST1_IDX as it performs bad for the customer as compare to index IX_DIT_TRUSTEE_6
    The question arises here is that can we force an index to be used as part of stored outline because when we created outline, it was using index IX_DIT_TRUSTEE_6.

  • Restoring table from a tablespace

    Hello!
    Please suggest.
    Is it possible to restore a table in a database
    if the tablespace containing it was dropped INLUDING CONTENTS AND DATAFILES and no backup of the database is available?
    Thanks a lot.

    I apologize if I was not clear.
    Although I issued INLUDING CONTENTS AND DATAGILES datafiles of the tablespace on the hard fisk not deleted. Oracle docs say too that sometimes it may be possible that
    datafiles physically will not be deleted and you just remove them manually.
    So this is my case.
    1.Database is in NOARCHIVELOG.
    2.DROP TABLESPACE TBSP_NAME INLCUDING CONTENTS AND DATAFILES
    was issued.
    3. No physical or logical backup of the database or of the tablespace is available.
    4. Datafiles of the tablespace are not physically removed from the hard disk, they still reside there.
    Is it possible to get the table back?
    Thanks much.

  • Restore table through flash back

    Hello,
    How can i restore the table if we don't have flashback on the database.
    db=10g
    OS=aix
    Regards,
    JAM

    undo_retention does not have any relation to undrop the table , nor flashback log has any relation to undrop the table , to undrop the table there is one logical container which is "Recycle Bin" , you can restore any dropped table unless and until you have not purge this table and there is no preallocated space set aside for the Recycle Bin.This makes the Recycle Bin space dependent on the space available in the existing tablespaces.
    There is no guaranteed timeframe for how long an object will be stored in the Recycle Bin.The time is determined by system activity that impacts space utilization.
    Please do not compare an orange to apple.
    If you wana use flashback table with the means of flashback log then be ready for flashback all yours objects within database , flashback log is for a broad spectrum to rewind the database not for a restoring a pitty table.
    Khurram

  • How to restore table data to one week old status

    I have a table vu_med_reimburse and  some of columns are VMR_MM, VMR_YYYY, VMR_ACTUAL_AMT the insert process to this table is done through another program but update of three columns are done throgh another program, by mistake all the values of above mentioned columns are updated to 0 about one week ago, is there any way to recover actual data without backup. the data samples are
    Before Update(one week before)
    VMR_ID     NAME     VMR_MM     VMR_YYYY     VMR_ACTUAL_AMT
    1               X               10               2007                    200.00
    2               Y               09               2008                    130.00
    3               Z               08               2011                    560.00
    After Update(by mistake) (now)
    VMR_ID     NAME     VMR_MM     VMR_YYYY     VMR_ACTUAL_AMT
    1               X               0                         0                         0.00
    2               Y              0                         0                         0.00
    3               Z              0                          0                         0.00
    Please help. Thank you in advance.

    after issuing the sql
    FLASHBACK TABLE vecusr.vu_med_reimburse TO TIMESTAMP TO_TIMESTAMP('2013-10-16 09:30:00', 'YYYY-MM-DD HH:MI:SS');
    it is showing
    ORA-08180: no snapshot found based on specified time
    once again i have run sql after changing the date it is showing
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12801: error signaled in parallel query server P003
    ORA-01555: snapshot too old: rollback segment number 4 with name
    "_SYSSMU4_1152005954$" too small

  • How can I restore table rows to their original, unsorted order?

    I understand that I could've manually created an "Order" column of sequential numbers and then sort by that.
    What I'm looking for is an "unsort" that restores rows to the (manual) order they were in before any sorting was applied.
    (Or does Numbers '09 permanently replace the pre-sorted order? That'd be a bit ...err ...'80s.)  ;-]

    Simon Poisson wrote:
    Thanks Jerry,
    Seems I assumed that sorting in Numbers '09 merely applied a reversible "view", much as its Insert Categories function does.
    For a Sheet with hundreds of rows, then, how would I apply the original order from a backup to the current edited, sorted rows?
    Or are we meant to manually locate and then drag each and every one of the hundreds of rows back to its original order? (That's about 6 hours or more of the unpleasant manual work that computers are supposed to do for us!)
    It's unfortunate that you made a false assumption about the sort feature. Numbers does indeed move the rows about as does every other spreadsheet app I've used.
    I wonder if there is anything in your data that you could sort on that would get you close to the original order. If you know how you would move the rows about, could you express that as a rule? If there's nothing in the data that is correlated to the order of the rows, then the order of the rows may not be extremely significant.
    Jerry

  • Restore data to an altered table.

    Hello,
    I 'd like to Alter a table in my database, and add a column.
    A lot of our old data are stored in tapes.
    What will happen if I later try to restore the data from the tables to the modified table?
    Do i have to restore all our tapes and then alter the table and then back up again?
    DB is 9i
    Thank you

    Hi,
    I 'd like to Alter a table in my database, and add a column.
    A lot of our old data are stored in tapes. - is it backup?
    What will happen if I later try to restore the data from the tables to the modified table?you cannot restore table, you can restore tablespace or datafile but not objects.
    These all wont work , do one thing before doing alterations to a table take export of a table
    *$exp system/**** file=exp_table.dmp tables=abc owner=user1*
    what ever changes you can do,if not then again drop the table and import back again
    Thanks.

  • Adf Table with selection as set to NONE

    Hi,
    I having a scenario as explained below:
    I am populating records in to the adf Table
    After that I am using checkbox for selecting multiple records in the table and delete them.
    So I set selection property to None for the table. Because I want user to edit only that record which is checked.
    My multiple delete is working fine.
    Now if i selected one checkbox and and click on edit(which I have placed in the panal collection toolbar) it should show me the record in the which I have selected by check box. But it is showing me the first row.
    Can anybody help me to set the current row of the adf table manually which is having selection property as none. so that I can populate in popup.
    If some other way is available please explain.
    I am using jdeveloper 11.1.2.1
    Thanks,
    Sandeep.

    I don't see why you can't set selection property to "single"? (and don't forget to restore table SelectionListener property - if deleted)
    This will set current row when you click on it.
    If you programmatically iterate through RowSet to find rows with selected checkbox, this will work regardless of value in "selection" property.
    Dario
    Edited by: kdario on Nov 7, 2012 5:20 AM
    Edited by: kdario on Nov 7, 2012 5:22 AM

Maybe you are looking for

  • Problem in running entity bean examples

    I am trying to run a entity bean example in my bea ,earlier i was getting the error that the data source name could not be found ,and so i replaced the data source name in my .xml file as cgDataSource and now i am not finding that error ,and the jsp

  • Opening a link in a pdf file in Firefox

    When I click on a link to an URL in a pdf file, I get this message: "Location of the web browser has not been specified. Please do this in Preferences." However, I can't find any place in Preferences where I can specify the browser I want to open the

  • Adobe Premier Pro CS6 editing system and mov files

    We have just installed a new Adobe Premier Pro CS6 editing system with a HP 820Z (running windows 7) 18 core multi drive system.  Our production company has used many mov. files from Ponds.  We were a FCP 7.0 studio (still have the system) but the mo

  • Screen exit for f-29

    Hi all want to do a screen exit for the transction f-29  (payment Header data ) in which the data has to store in bseg . here i want to insert one parameter named personal no ... here i am not able to find the exit .. can u help me out

  • Who scheduled a job with service user

    Hi, In my one of the system one job is running with service user. As service user cannot log into system. One of the dialog user logged in to system and scheduled one job with service user. this job is running more than 2 months. Now we want to know