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.

Similar Messages

  • How to get the last update time for a table ?

    I want to know the last change of the table data , for example, a record has been changed, how can i get that time?
    Regards,
    Lament

    Hello
    check the tables CDHDR & CDPOS
    But the condition when u r checking the these table.for a particular field the at data element level- futhur charactestictab level we have one check box called change document it as tick
    Thank u,
    santhosh

  • How to get the last modified time for directory?

    Hi,
    I have to accomplish this.
    A folder c:\myfolder can literally contain anything files.. sub directories, fiels in sub directories.
    I have a thread monitoring c:\myfolder, basically people can dump files in any order into that directory and I have to trigger something when there is no activity on c:\myfolder for 10 secs.
    I tried lastModified() with File("c:\myfolder") but that seems to be working only if there is some change on root level of c:\myfolder, for eg if I have a sub folder c:\myfolder\subfolder and I copy some file into c:\myfolder\subfolder, then the lastModified() doesnt seem to be updatiing on the mail folder "c:\myfolder"
    Is there a way I can handle this situation?
    Any suggession is appreciated.
    Thanks in advance.

    I was looking to accomplish this using simple java
    code without any 3rd party involvment.Then you will have to monitor all the directories that people might dump files into. You can't expect Java to automatically deal with things that the operating system doesn't support just because those things happen to be your requirements.

  • How to get the "last changed by" for a set of function modules?

    How to get the "last changed by" for a set of function modules?
    is there any table to get it??

    See [this|Re: Date of creation of function module] I posted earlier.
    >TFDIR will give you the name of the function group program and the include number.
    >E.g. SAPLZFUNCGROUP Include 01.
    >From this you can construct the include name: LZFUNCGROUPU01.
    >You can look this up in TRDIR to find the creation date (CDAT) of the function module.
    In your case, you need unam and udat.
    matt

  • Need to know how to find the last execution time for a function module

    HI all
    I need to know
    1) How to find out the last execution time of the function module ?
      say for eg. I have executed a func. module at 1:39pm. How to retrieve this time  (1:39pm)
    2) I have created 3 billing document in tcode VF01 i.e 3 billing doucment no. would be created in SAP TABLE "VBRP" b/w 12am to 12:30 am.
    How to capture the latest SAP database update b/w time intervals?
    3) Suppose I am downloading TXT file using "GUI_DOWNLOAD" and say in 20th record some error has happened. I can capture the error using the exception.
    Is it possible to run the program once again from 21st records ? All this will be running in background...
    Kindly clarify....
    Points will be rewarded
    Thanks in advance

    1.Use tcode STAT input as Tcode of Fm and execute .
    2. See the billing documents are created in table VBRk header and there will always be Creation date and time.
    VBRk-Erdat "date ., u can check the time field also
    So now if u talk the date and time we can filter then display the records in intervals.
    3. with an error exeption how is my txt download finished .
    once exception is raised there will not be a download .
    regards,
    vijay

  • How to get the date n time for log in ODI

    Hi,
    I wanna ask, what is the syntax for getting the date n time when i specify the location of log for Interface. Thanks.

    I quite do not get what you are trying to achieve here.
    - In a mapping, use the DBMS engine sysdate command.
    - In a variable, you can refresh the variable value using a "select sysdate from dual" type of query.
    - You can also use the appropriate odiref substitution method to get a date. For example:
    Current year is: :<%=odiRef.getSysDate("y")%>
    Hope this helps.
    -FX

  • How to get the last seven days for out put of present day

    Hi Experts,
    we developed one query for 3 years data
    1.user enter the current date (21-03-2014) but out put value should be last seven days (21-03-2014 - 7) (last one week data only)
    2.some times user will enter the (20-03-2014 ) but out put value should be last seven days (20-03-2014 - 7) (last one week data only)
    how to achieve the 2 different scenario?
    is there any standard variable ? please suggest .
    Thanks,
    Bindu.

    Hi,
    i created the Characteristic value variable not formula variable
    in char variable i can't see the off set functionality but we can see off set function in formula variable
    user requirement he wants enter the input value as date and he need last week data means one week data calday wise.
    i tired the 0PREVWK , 0CWEEK these two variables these not asking the input and direct showing the out put.
    these can achieve through the customer exit?
    Thanks,
    Bindu.

  • How to get the values multiple times for the specified element - ABAP IXML.

    Hi all,
             i have requirement to get the values for the specified elements multiple times. eg:., if the element is used in the xml 4 times then i need to get all the 4 values.  here is the sample xml,
    <View mmRelease="6.30" mmVersion="2.0" mmTimestamp="1180099591892" name="Comp_viewtestView" package="sap.com" masterLanguage="en">
    <AbstractView.InboundPlugs>
    <InboundPlug name="ip2">
    <ParameterizedFeature.Parameters>
    <Parameter name="ippara2">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.dictionary" name="binary" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    <InboundPlug name="hi">
    <ParameterizedFeature.Parameters>
    <Parameter name="hipara">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.ide.webdynpro.uielementdefinitions" name="Visibility" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    Here i need to store the following values in internal table, the element to get the values are,
    (1) InboungPlug name and the respective values of "Parameter name" and "Parameter type" name value.
    The output will be of 2 records & values should be
    Inbound plug name = ip2
    Parameter name    = ippara2
    Parameter type      = binary
    2nd record
    Inbound plug name = hi
    Parameter name    = hipara
    Parameter type      = Visibility
    These 2 records should be in internal table and then i will be passing to database table...
    Can anyone provide me the code for the above......
    Thanks in advance,
    Vishnu.

    I didn't get ur requirement..
    As per my understanding, upload the XML file into an internal table and then loop over the internal table and get the values for ptype and pname..
    XML ABAP  -  may b helpfull
    Edited by: Veeranji Reddy on May 7, 2009 2:10 PM

  • How to get the last error for while loop?

    How to get the last error for while loop? I just want transfer the last error for while loop, but the program use the shift register shift all error every cycle.

    What do you mean by "get" and "transfer"?
    If the shift register is not what you want, use a plan tunnel instead.
    Typically, programmers are interested in the first, not last, error.
    Can you show us your code so we have a better idea what you are trying to?
    LabVIEW Champion . Do more with less code and in less time .

  • How to get the last day of the week?

    Hii
    i can get the calender week number for any given date using
    SELECT to_char(to_date('04/04/2011','MM/DD/YYYY'),'WW') FROM dual
    can any body tell me, how to get the last day of that week ?
    and the answer should be 04/08/2011(8th april )
    thanks
    San
    Edited by: sandeep9 on Apr 4, 2011 3:50 AM

    Hi, San,
    Here's one way:
    WITH     sample_data     AS
         SELECT  DATE '2011-04-04'     AS dt
         FROM     dual
    SELECT  dt
    ,     TO_CHAR (dt, 'WW')     AS week_num
    ,     NEXT_DAY ( dt - 1
               , TO_CHAR ( TRUNC (dt, 'YEAR') - 1
                      , 'Day'
               )          AS end_o_week
    FROM     sample_data;Another way is to use date arrithmetic:
    WITH     sample_data     AS
         SELECT  DATE '2011-04-09'     AS dt
         FROM     dual
    SELECT  dt
    ,     TO_CHAR (dt, 'WW')     AS week_num
    ,     TRUNC (dt, 'YEAR')
          + (7 * CEIL ( (dt - (TRUNC (dt, 'YEAR') - 1))
                / 7
          - 1               AS using_date_arithmetic
    FROM     sample_data;

  • How to get the last day according to fiscal period input in selection scree

    Hello expert
    how to get the last day of fiscal period input.
    the fiscal period inculdes 1-16
    when fiscal period is greater than 12, only calculate the last day of 12nd month
    your solution will be apprecaited, FM existing?
    thank you
    Kevin

    Hi,
    when you give a particular date in any month
    the following fm will give you the last date of that month
    here you can give
    R_FDATE-HIGH  as 01 and month as the period you wnat and year for current year
    concatenates '01'  month year  into r_fdate-high separated by '.'.
    then it will give g_ltdt for that month and year which wil be the last date of that month
        CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
          EXPORTING
            DAY_IN            = R_FDATE-HIGH
          IMPORTING
            LAST_DAY_OF_MONTH = G_LTDT
          EXCEPTIONS
            DAY_IN_NO_DATE    = 1
            OTHERS            = 2.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    thanks & regards,
    Venkatesh

  • How to get the last version of flash in MSI format automatically?

    How to get the last version of flash in MSI format automatically?
    Roberto Neigenfind
    Bravo Tecnologia
    www.bravotecnologia.com.br

    Hi Barbara,
    Flash Professional CS5.5 is a 32-bit application which can be installed on computers with either 32-bit or 64-bit operating systems.
    You can purchase this by Adobe's backward Licensing policy :
    " Adobe allows program members to order a current-version license but use a prior version. These members can contact Adobe Customer Service to request a serial number for the earlier version if they do not already have one. Prior-version software is available via ESD and can be purchased through standard resellers. The program member must follow all guidelines of the current-version EULA. "
    Please check the doc : http://www.adobe.com/volume-licensing/policies.html

  • How to get the list of top 10 tables grown last week or last few days

    Hi All,
    Please let me know, how to get the list of top 10 tables grown last week or last few days
    Thanks

    Please let me know, how to get the list of top 10 tables grown last week or last few days1.Oracle Version and OS info please ... ALWAYS
    2.Do you have licensing options (Tuning and/or Diagnostics Pack) ?
    3.Have you ran AWR/Statspack in last week or last few days
    1.Because Oracle do not store auto tack the history of tables growth. See below link where one user has showed the possible way of manual track of table(s) growth :
    Re: oracle tables growth
    2.MOS Note for How To Get Table Growth History Information? [ID 1395195.1]
    3.If you are in 10g than EM of 10g has something called Segmnet Statistics which can show you the growth of your table.
    4.Other clue :
    SQL> select * from table (dbms_space.object_growth_trend('SCOTT','EMP','TABLE'));
    TIMEPOINT                                                                   SPACE_USAGE SPACE_ALLOC QUALITY
    17-SEP-12 11.06.20.228000 AM                                                       1593       65536 GOOD5.A good script by Mice Ault for historical growth of segments within AWR:
    http://www.dba-oracle.com/t_table_growth_reports.htm
    Regards
    Girish Sharma

  • How to get the last different occurrence in a SCD table

    hey,
    i have a slowly changing dimension and i want to get the last different occurrence for each row.
    Sample Data
    the field LAST_VALUE is the one i'm looking for.
    ID     START_DATE     END_DATE     VALUE     LAST_VALUE
    1     01/01/2000     01/02/2000     X     null
    1     01/02/2000     01/03/2000     X     null
    1     01/03/2000     01/04/2000     Y     X
    1     01/04/2000     01/05/2000     Y     X
    1     01/05/2000     01/06/2000     X     Y
    1     01/06/2000     01/07/2000     X     Y
    1     01/07/2000     01/08/2000     Z     X
    1     01/08/2000     01/09/2000     Q     Z i want to try and do that without three sub selects.
    i've tried analytic functions but lag brings me the last occurrence which is not necessarily different.
    thanks.

    Something like this :
    SQL> with sample_data as (
      2    select 1 ID, to_date('01/01/2000','DD/MM/YYYY') START_DATE, to_date('01/02/2000','DD/MM/YYYY') END_DATE, 'X' VALUE from dual union all
      3    select 1, to_date('01/02/2000','DD/MM/YYYY'), to_date('01/03/2000','DD/MM/YYYY'), 'X' from dual union all
      4    select 1, to_date('01/03/2000','DD/MM/YYYY'), to_date('01/04/2000','DD/MM/YYYY'), 'Y' from dual union all
      5    select 1, to_date('01/04/2000','DD/MM/YYYY'), to_date('01/05/2000','DD/MM/YYYY'), 'Y' from dual union all
      6    select 1, to_date('01/05/2000','DD/MM/YYYY'), to_date('01/06/2000','DD/MM/YYYY'), 'X' from dual union all
      7    select 1, to_date('01/06/2000','DD/MM/YYYY'), to_date('01/07/2000','DD/MM/YYYY'), 'X' from dual union all
      8    select 1, to_date('01/07/2000','DD/MM/YYYY'), to_date('01/08/2000','DD/MM/YYYY'), 'Z' from dual union all
      9    select 1, to_date('01/08/2000','DD/MM/YYYY'), to_date('01/09/2000','DD/MM/YYYY'), 'Q' from dual
    10  )
    11  select v.id
    12       , v.start_date
    13       , v.end_date
    14       , v.value
    15       , last_value(case when value != prev_value then prev_value end ignore nulls)
    16               over(partition by id order by start_date) as "LAST_VALUE"
    17  from (
    18    select t.*
    19         , lag(value) over(partition by id order by start_date) as prev_value
    20    from sample_data t
    21  ) v
    22  ;
            ID START_DATE  END_DATE    VALUE LAST_VALUE
             1 01/01/2000  01/02/2000  X    
             1 01/02/2000  01/03/2000  X    
             1 01/03/2000  01/04/2000  Y     X
             1 01/04/2000  01/05/2000  Y     X
             1 01/05/2000  01/06/2000  X     Y
             1 01/06/2000  01/07/2000  X     Y
             1 01/07/2000  01/08/2000  Z     X
             1 01/08/2000  01/09/2000  Q     Z
    8 rows selected

  • How to get the last day of a month?

    HI,
    I want to know how to get the last day of a month.
    In my JClient form, I tried to get it by using oracle.sql.Date method, that is:
    lastday=oracle.sql.Date anydate.lastDayOfMonth();
    But it does not work. The result is lastday=anydate.
    Why?
    Stephen

    You can use the Calender class...
    Calendar c = Calendar.getInstance();
    and then something like...
    c.add(c.MONTH, 1);
    int dayOfMonth = c.get(Calender.MONTH);
    c.add(c.DAY_OF_MONTH, - (dayOfMonth-1) );
    other usefull functions are:
    System.out.println(" YEAR : " + c.get(Calendar.YEAR));
    System.out.println(" MONTH : " + c.get(Calendar.MONTH));
    System.out.println(" DAY_OF_MONTH : " + c.get(Calendar.DAY_OF_MONTH));
    System.out.println(" DAY_OF_WEEK : " + c.get(Calendar.DAY_OF_WEEK));
    System.out.println(" DAY_OF_YEAR : " + c.get(Calendar.DAY_OF_YEAR));
    System.out.println(" WEEK_OF_YEAR : " + c.get(Calendar.WEEK_OF_YEAR));
    System.out.println(" WEEK_OF_MONTH : " + c.get(Calendar.WEEK_OF_MONTH));
    System.out.println(" DAY_OF_WEEK_IN_MONTH : " + c.get(Calendar.DAY_OF_WEEK_IN_MONTH));
    System.out.println(" HOUR : " + c.get(Calendar.HOUR));
    System.out.println(" AM_PM : " + c.get(Calendar.AM_PM));
    System.out.println(" HOUR_OF_DAY (24-hour): " + c.get(Calendar.HOUR_OF_DAY));
    System.out.println(" MINUTE : " + c.get(Calendar.MINUTE));
    System.out.println(" SECOND : " + c.get(Calendar.SECOND));
    System.out.println();*/

Maybe you are looking for