Finding exact time for table drop

Hi,
yesterday i dropped one of the important table ...i have rman backup...i want to use until time incomplete recovery method.. but i dont know the exact time of table dropped ..i tried alert and trace files ..but no use...
is their any method to find out the exact time of table dropped..
Oracle 9.2
Redhat 5.3
Thank u
selva..

So the database is not in ARCHIVELOG mode?
If you don't have the redo from the time in question, you haven't enabled auditing of DDL operations like DROP, and you don't have a DDL trigger that would have recorded the time of the drop, you're probably out of luck. Oracle won't have that information. You'll have to take your best guess.
If you were on a more recent version of Oracle, the dropped table would be in the recycle bin. But that wasn't available back in the 9.2 days.
Justin

Similar Messages

  • Finding exact time for sequence change

    Hi,
    for incomplete recovery purpose , i want to know the exact timing of sequence number change or SCN change...i tried some of the views like v$loghist, V$log_history..provide only date ..these didnt provide exact time...
    SQL> select * from v$loghist;
    THREAD# SEQUENCE# FIRST_CHANGE# FIRST_TIM SWITCH_CHANGE#
    1 1 944409 31-MAY-09 945995
    1 2 945995 31-MAY-09 947470
    Oracle 9.3
    Redhat 5.3
    Thank u
    selva..

    Connected to:
    Oracle Database 10g Release 10.2.0.4.0 - Production
    SQL> alter session set nls_date_format='dd.mm.yyyy hh24:mi:ss';
    Session altered.
    SQL> select * from v$loghist where rownum < 10;
       THREAD#  SEQUENCE# FIRST_CHANGE# FIRST_TIME          SWITCH_CHANGE#
             1       2035     760254081 28.04.2009 00:45:41      760391689
             1       2036     760391689 28.04.2009 06:30:44      760479542
             1       2037     760479542 28.04.2009 10:18:58      760566251
             1       2038     760566251 28.04.2009 11:18:23      760686034
             1       2039     760686034 28.04.2009 11:33:20      760802082
             1       2040     760802082 28.04.2009 12:00:44      760916445
             1       2041     760916445 28.04.2009 12:18:07      761027875
             1       2042     761027875 28.04.2009 12:33:28      761147250
             1       2043     761147250 28.04.2009 12:49:01      761262830
    9 rows selected.

  • How to find max(time) from table using group by

    how to find max(time) from table using group by
    select var max(time)
              from table
              into (var1, time1)
               where .....
                 group by var.
    it is fetching record which is top in table.
    if u can help?
    regards.

    No this will fetch the maximum time from teh table.
    select var max(time)
    from table xxxx
    into (var1, time1)
    where .....
    group by var.
    Refer this code
    TABLES SBOOK.
    DATA:  COUNT TYPE I, SUM TYPE P DECIMALS 2, AVG TYPE F.
    DATA:  CONNID LIKE SBOOK-CONNID.
    SELECT CONNID COUNT( * ) SUM( LUGGWEIGHT ) AVG( LUGGWEIGHT )
           INTO (CONNID, COUNT, SUM, AVG)
           FROM SBOOK
           WHERE
             CARRID   = 'LH '      AND
             FLDATE   = '19950228'
           GROUP BY CONNID.
      WRITE: / CONNID, COUNT, SUM, AVG.
    ENDSELECT.

  • Find exact time a database was recovered to

    Oracle 11gR1
    How can I find out the exact time a database was recovered to, assuming I do not know what value was used in the "SET UNTIL TIME" clause?

    >Will the resetlogs time show the time I issued the "alter database open resetlogs" command at or will it show the time that the database was actually recovered to
    The RESETLOGS_TIME in V$DATABASE shows when the ALTER DATABASE OPEN RESETLOGS was issued.
    It does NOT show the time the database was recovered to.
    Thus, today, 14-Jun I restore a database backup of 11-Jun and do an Incomplete Recovery to 12-Jun.  My SET UNTIL TIME was 12-Jun.
    V$DATABASE.RESETLOGS_TIME shows 14-Jun.
    The only way to know the time the database was recovered to is to query a table which you know holds transaction timestamps and would have had a transactions just at or before the SET UNTIL TIME.  (e.g. an audit table  ?)
    Hemant K Chitale

  • Need to find last time a table was used.

    I am in the process of cleaning out a group of staging tablespaces and I would appreciate some help finding the last time a table was used. (ie: records added, deleted, ect.) Is there an SQL statement that will do it? Any other suggestions?
    I will Appreciate any assistance.

    How can I activate the auditing? http://download-east.oracle.com/docs/cd/B19306_01/network.102/b14266/auditing.htm#i1011984
    Daljit Singh

  • How to Find Idle Time for Java Application

    Hi
    I have tried various type of methods to find IDLE Time but no use
    Can any one please help me
    Krishna

    E.D.-inc wrote:
    how to set a file association for a specifed file type in windows??
    i am asking this because i cant set a file association to a .jar application, it has to be an exe.. is it a must to convert it to exe??
    can anyone help me?? is it possible to trick this??Open any "folder", go to Extras -> Folder Options
    Select Data/Mime Types
    Select Add/New

  • Finding out time for importing a transport

    Hello,
    I want to find the time taken by a transport to be imported to a system.
    It can be done through the logs, but in this case, I have a huge list of TRs.
    Is there an option in SAP where I can find out the time for importing each TR?
    Thanks,
    Prateek

    Hi,
    U can see this in STMS
    Go to STMS->Overview->Import overview->Select the queue where u want to see->Double click on it u can see the requests->
    Double click on the request u want->there select the request and click on transport  logs icon on top

  • Logc Pro X - TIME ruler  - selecting exact time for bounce.

    I often need to make my bounce exactly :30 or :60 for radio and TV work. In LP9 I was able to view the TIME ruler, without making any changes to project settings, and select the time I needed (setting the locators for the bounce).
    In LPX it seems that the to see a time scale (in musical mode) i need to view the secondary ruler, yet it is not selectable to set the locators to exactly :30 or :60 or whatever, I had success by switching the project settings to TIME, then setting the locators, then going back to musical. But that sure is a lot of steps.
    AND I hate to lose the functionality of my audio bounced files not having the tempo information embedded because I am in TIME mode.
    Need a quick workflow solution. Head scratcher, Any thoughts?
    LOVE LOGIC X
    Needs CLIP GAIN!

    The issue is one of workflow. I realize that it is in settings. The fastest way I can find to select :30 exactly is to use the project settings key command "option-P" and under general, uncheck "Use musical grid", putting LOGIC in TIME mode.
    Then highlite the primary ruler to :30. Then bounce.
    Seems fine. But  bouncing in TIME mode does not record the tempo information in the audio file, which can be a drag. So to add tempo information you have to switch back to musical mode. MULTIPLE STEPS.
    LPX seems to have added steps to what was once a simple swipe on a second ruler that could be selected, and then hit bounce.
    So I was wondering if anyone had found a better workflow solution.

  • Not able to find the mapping for table W_CUSTOMER_STATUS_HIST_F_TMP

    Hi All,
    I have implemented the Out of Box solution of Order Management Analytics module with 11.5.10 version of Oracle EBS and respective adopters. Under the same I am not able to notice any mapping to load the data into W_CUSTOMER_STATUS_HIST_F_TMP table and due to which it causing few reports under order management.
    Could you please tell me the mappings name for this Target Table so that I can verify from my side if it has been missed or so?
    I am finding this W_CUSTOMER_STATUS_HIST_F_TMP table is getting used as Source Table under the folder of PLP for the mapping as,
    PLP_CustomerStatusHistoryFact_Extract
    PLP_CustomerStatusHistoryFact_Old_Customers_Load
    and PLP_CustomerStatusHistoryFact_Extract
    Thanks,
    -Vinay

    Not sure this would help but As per data lineage guide, it says PLP_CustomerStatusHistoryFact_Extract mapping populates this table from series of different tables. Later, From temp table it goes to W_CUSTOMER_STATUS_HIST_F table via mapping PLP_CustomerStatusHistoryFact_New_Customers_Load
    ~r

  • How to restore limited tablespace for table (drop table import)

    Hi All,
    Application user has drop one master table in database i want to restore it but now i don't hv logical backup
    i hv only rman backup,Is it possible to restore only limited tablespace and open the database n import that required table from tablespace.
    If its possible by auxiliary instance pls send me the required steps to create auxiliary instance for limited tablespace
    Waiting for immediate responce.
    Thanks & Regards,
    .......

    user9161658 wrote:
    Hi All,
    Application user has drop one master table in database i want to restore it but now i don't hv logical backup
    i hv only rman backup,Is it possible to restore only limited tablespace and open the database n import that required table from tablespace.
    If its possible by auxiliary instance pls send me the required steps to create auxiliary instance for limited tablespace
    Waiting for immediate responce.PLease note asking for an immediate response is not a good thing on a public and free forum. For immediate assistance, OSS is the place to go for.
    What you want to do is certainly possible and its possible to recover only the dropped object form the tablespace with the help of TSPITR . Please see the following link to understand and know about it. Since you haven't mentioned your version, I am giving 11.2's link.
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmtspit.htm#BRADV89787
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmtspit.htm#BRADV009
    HTH
    Aman....

  • Find exact package for saving the workbech request for std SAP object

    Hello friends I have edited a std SAP prog for printing the import PO(got access key from market place).After editing while creating transport request I am not able to find the package to which it should be saved.now the problem is that How to move that program to our quality server.
    the program is
    /1BCDWB/LSF00000063TOP

    Hi achal,
    are you sure you modified a standard SAP object. /1BCDWB/ prefix is common with all quick view reports - they are local and user-specific. You can convert a quickview to query to report. Using a modification key you may add it to the standard - choose a package as you prefer. But better copy the generated query report to customer name space - because it never was and never will be SAP standard. If it is in customer name space, release changes are no problem at all.
    Regards,
    Clemens

  • How to get the last modifed time for table & its constraints

    Hi All,
    I have table. I want to know when it is modified last. Actually few constraints are added to the table. I want to find out when the constraints are added to the Table.
    I am using Oracle 9. Could you help me out plz.
    Regardds
    Ashish Mishra

    Check LAST_DDL_TIME from USER_OBJECTS, and LAST_CHANGE from USER_CONSTRAINTS.

  • Extremely long data xfer times for table ETXDCH

    Hi;
    Table ETXDCH takes an extremely long time to transfer. It is infact one of the smallest tables, with very few indexes.
    Any Idea why it may be so? I tried changing the read and write behavior but still stuck in progress.
    Thanks
    Harmeet

    Hi Harmeet,
    Check from SM50 transaction on what maximum time is being spent. Have you used any scrambling rules here? Is there repeated hits to table CNVMBTRENAME seen from transaction SM50,
    Regards
    Raghuram

  • Where to find the validation for table

    Hi Friends,
    I'm new to HRMS. This is my senario. USers entering the Leave. When entering the leave, it is validating the leave days , and throws error. If they entering for the same person, same from date and same to date, it will show error that *'Record already exist'*. Otherwise , it will accept the new records. My situation is, if the person applied for 5 days. but he returned back into 4 days. So, when they tried to update those records also , it showing same error, *'Record already exist'*.
    These validation they have done in fast formula..
    IF(PFC_IN_CHECK_ABSENCE_OVERLAP(ASG_NUMBER,date_start,date_end)<>0) THEN
    duration='FAILED'
    invalid_msg='Your absence days are overlapping with an existing absence'
    Procedure called in Fast Formula,
    FUNCTION pfc_in_check_absence_overlap (p_employee_number VARCHAR2, p_start_date DATE, p_end_date DATE)
    RETURN NUMBER
    IS
    CURSOR c_count
    IS
    SELECT 1
    FROM per_absence_attendances absence,
    per_absence_attendance_types absence_types,
    per_all_people_f person
    WHERE person.person_id = absence.person_id
    AND absence.absence_attendance_type_id = absence_types.absence_attendance_type_id
    AND TRUNC (SYSDATE) BETWEEN person.effective_start_date AND person.effective_end_date
    AND person.employee_number = p_employee_number
    AND ( (p_start_date BETWEEN absence.date_start AND absence.date_end)
    OR (p_end_date BETWEEN absence.date_start AND absence.date_end)
    l_count NUMBER := 0;
    l_dummy c_count%ROWTYPE;
    BEGIN
    OPEN c_count;
    FETCH c_count
    INTO l_dummy;
    IF c_count%FOUND
    THEN
    l_count := l_count + 1;
    ELSE
    l_count := 0;
    END IF;
    CLOSE c_count;
    RETURN l_count;
    END;
    I need to change that, it should permit to update the records. Please let me know, how to do that, where to change and where to check.
    Pl. help. This is little bit urgent.
    Thanks in ADvance.
    Mano

    Can I confirm I understand your requirement correctly. Is this right:
    * You have overlapping absence validation at the moment
    * This errors whenever you try and create/update an absence where any day of this absence overlaps with an existing absence (ie, it starts between an existing absence, or ends between an existing absence)
    * The problem with this validation in the case of update is that its validating against itself
    Is that right?
    If so, what you'd usually do in this case is get the cursor to ignore the absence being updated. For example:
    FUNCTION pfc_in_check_absence_overlap (p_employee_number VARCHAR2, p_start_date DATE, p_end_date DATE, p_absence_attendance_id number default null)
    RETURN NUMBER
    IS
    CURSOR c_count
    IS
    SELECT 1
    FROM per_absence_attendances absence,
    per_absence_attendance_types absence_types,
    per_all_people_f person
    WHERE person.person_id = absence.person_id
    AND absence.absence_attendance_type_id = absence_types.absence_attendance_type_id
    AND absence.absence_attendance_id <> nvl(p_absence_attendance_id, -1)
    AND TRUNC (SYSDATE) BETWEEN person.effective_start_date AND person.effective_end_date
    AND person.employee_number = p_employee_number
    AND ( (p_start_date BETWEEN absence.date_start AND absence.date_end)
    OR (p_end_date BETWEEN absence.date_start AND absence.date_end)
    However, the problem here is getting hold of the absence_attendance_id. This isn't available to the Fast Formula, although I think if you're on release 12.1.3 it might be.
    So with your current solution there's no way of getting the cursor to ignore the absence being updated. An alternative solution would be to implement this logic in API User Hooks on create_person_absence and update_person_absence. These hooks can pass in p_absence_attendance_id, which means you can then stop it erroring on itself.
    If you moved to API User Hooks could you keep the same PLSQL as above (the version I modified). For more details on implement API User Hooks please see:
    Understanding and Using Application Program Interface (API) User Hooks in Oracle HRMS [ID 73170.1]

  • Subscription Renewal date and exact time for activ...

    It's been 10 hours since my renewal date of my subscription and I'm still 0 minutes left on my subscription. How long should I wait?

    rncs wrote:
    It's been 10 hours since my renewal date of my subscription and I'm still 0 minutes left on my subscription. How long should I wait?
    Hello and welcome to the Skype Community.
    Renewal minutes are added at or about midnight UTC/GMT on the due date.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

Maybe you are looking for

  • How can i transfer my main HD to a new one?

    How can i transfer my main HD to a new one?

  • Vendor/customers clearing against eachother.

    Hi Gurus, We have a scenario where, one plant (P1) is selling FG to other (P2). P2 is treated as customer and P1 as vendor within the same company code. My doubt is, can we adjust/clear entries belonging to this transaction against customer and vendo

  • Barcode software for Mac to use with AI CS3

    I need a means to generate Postnet barcodes on a Mac platform. Preferrably the result would be vector art. Any ideas? I use AI CS3

  • Music is Distorted and Skips

    I currently have the iphone 5 and my software has been udpated to 6.1.4. But the issue I am having is that, when I'm running or working out, my music would sound distorted and skips. This is the only time it happens. Any suggestions or ways to resolv

  • How do I remove content from my web page without deleting it?

    Hi, I previously created a webpage using iWeb on the domain name that came with dot.mac (now Mobile Me). I want to remove it from the online page without deleting it (I may want to use the content later). I've used other software at work (Morello) an