LAST_DDL_TIME, and TIMESTAMP in the USER_OBJECTS

Hi,
I need to know the difference between the LAST_DDL_TIME, and TIMESTAMP in the USER_OBJECTS table concerning with the packages.I know both will give the latest compile time of the package , but i need to know why there is two seperate column. I also could find the date and time of LAST_DDL_TIME, TIMESTAMP to be different some time for a particular pacakge. Please help me in understanding the difference in detail.
Regards,
Vijayanand.C

LAST_DDL_TIME is the timestamp for the last DDL operation on the object (including GRANTS and revokes).
TIMESTAMP is the timestamp for the specification of the object.
In more detail,
TIMESTAMP relates only to changes to the specification of the object. DDL such as GRANTS for the object would alter the LAST_DDL_TIME, but not the TIMESTAMP.
DDL which modifies the specification of the object, such as in the case of adding a column to a table or modifying a column attribute, would update both LAST_DDL_TIME and TIMESTAMP.
Hope this helps.
Janet.

Similar Messages

  • LAST_DDL_TIME, and TIMESTAMP in the USER_OBJECTS table

    Hi,
    I need to know the difference between the LAST_DDL_TIME, and TIMESTAMP in the USER_OBJECTS table concerning with the packages.I know both will give the latest compile time of the package , but i need to know why there is two seperate column. I also could find the date and time of LAST_DDL_TIME, TIMESTAMP to be different some time for a particular pacakge. Please help me in understanding the difference in detail.
    Regards,
    Vijayanand.C

    Here is an example.
    SQL> create or replace package mypackage as
    2 procedure abc(def in varchar2);
    3 end;
    4 /
    Package created.
    SQL> select last_ddl_time,timestamp from user_objects
    2 where object_name = 'MYPACKAGE';
    LAST_DDL_TIME TIMESTAMP
    19-MAY-2004 11:21:31 2004-05-19:11:21:31
    SQL> alter package mypackage compile;
    Package altered.
    SQL> select last_ddl_time,timestamp from user_objects
    2 where object_name = 'MYPACKAGE';
    LAST_DDL_TIME TIMESTAMP
    19-MAY-2004 11:23:26 2004-05-19:11:21:31
    I hope this helps.

  • When LAST_DDL_TIME and TIMESTAMP fields are uptaded?

    Hi,
    I need know when the fields LAST_DDL_TIME and TIMESTAMP are updated.
    - Which updated objects (tables, procedures, etc) can change them?
    - Which references are updated too? All?
    Thanks by any help
    Moises Rodrigues
    System Analist
    CPM Braxis - http://www.cpmbraxis.com

    Hi,
    Please refrain from posting duplicate threads.
    Already answered Re: When LAST_DDL_TIME and TIMESTAMP fields are uptaded?
    Aman....

  • Columns last_ddl_time and timestamp in dba_objects

    Hi,
    i just ran into strange thing.
    i created a procedure called aaa. then i ran create or replace procedure aaa with the same code of the original procedure.
    i was surprised to see that the fields of last_ddl_time and timestamp haven't change.
    Of course, when i did this experiment with changing one line in the original package - the fields of last_ddl_time and timestamp did change.
    The question is if it's suppose to be this way and if so, is there any way to make this fields change even if the "new" code is exectly the same.
    thanks

    Hi,
    i demonstrated the thing here.
    i forgot to mention that the DB version i'm using is 11.2.0.3.
    SQL> select last_ddl_time,timestamp from dba_objects where object_name = 'AAAAAAA';
    no rows selected
    SQL> create or replace procedure AAAAAAA is
    begin
    null;
    end; 2 3 4
    5 /
    Procedure created.
    SQL> select last_ddl_time,timestamp from dba_objects where object_name = 'AAAAAAA';
    LAST_DDL_TIME TIMESTAMP
    17-APR-2013 17:37:09 2013-04-17:17:37:09
    SQL> create or replace procedure AAAAAAA is
    begin
    null;
    end; 2 3 4
    5 /
    Procedure created.
    SQL> select last_ddl_time,timestamp from dba_objects where object_name = 'AAAAAAA';
    LAST_DDL_TIME TIMESTAMP
    17-APR-2013 17:37:09 2013-04-17:17:37:09
    SQL> create or replace procedure AAAAAAA is
    begin
    null;
    null;
    end; 2 3 4 5
    6 /
    Procedure created.
    SQL> select last_ddl_time,timestamp from dba_objects where object_name = 'AAAAAAA';
    LAST_DDL_TIME TIMESTAMP
    17-APR-2013 17:38:02 2013-04-17:17:38:02

  • Best way to replicate a directory share to a new Windows 2012 serv, keeping all permissions and timestamps the same?

    We have a legacy Windows 2008 R2 server, with a single network share on it, that was acting as a primary file share.   Inside the network share are about a dozen different folders (with subfolders) all with different permissions applied to them at the
    folder and file level.   
    I want to migrate/copy this entire directory structure to a new Windows 2012 Standard server, keeping all the timestamps, permissions, etc. exactly as they are on the old directory structure.  Both servers are part of the same single Windows 2008 R2
    domain.
    What would the best practice method for achieving this?  Using XCopy?   If so, what syntax would I want to use with the command to make sure I don't lose any permissions or change any data and timestamps during the migration?

    Hi 
    I recommend you use robocopy to accomplish it.
    Technet Guide for robocopy command:http://technet.microsoft.com/en-us/library/cc733145(v=ws.10).aspx
    Microsoft RoboCopy GUI tool. Tool
    link: http://www.myitforum.com/articles/15/view.asp?id=9433
    Note: Its always good test in test environment, before applying it to production servers
    Regards, Ravikumar P

  • [iOS4] CMDeviceMotion and timestamp problem

    Hi,
    Excuse my English as it isn't my primary language.
    I hava a problem using an instance of CMDeviceMotion. I need data from both the gyro and accelerometer and the frequency of sample is set at the maximum, 100.
    I also need the timestamp at which the sample was taken. However, at the beginning the timestamp doesn't change even if the acceleration and gyro change. I got something like that :
    0.003779 -0.050910 0.001185 933.604339
    0.035029 -0.042457 0.019893 933.604339
    0.062266 -0.009147 0.084819 933.604339
    0.069300 0.012292 0.092631 933.604339
    0.047862 0.018517 0.091456 933.604339
    0.035304 0.029885 0.084575 933.604339
    0.032496 0.039498 0.083583 933.604339
    We have acceleration.x, .y, .z and the timestamp. As you can see the timestamp doesn't change for about 60 upgrades ~6 seconds.
    Besides, when it finally starts upgrading, it sometimes sample twice the accelreation/gyro at the same timestamp :
    0.115215 0.005342 -0.051157 1385.964002
    *0.120561 0.019797 -0.054112 1385.977830*
    *0.122637 0.031470 -0.051182 1385.977830*
    0.113840 0.042271 -0.045493 1385.992829
    Here is my code :
    In the viewDidLoad method :
    motionManager = [[CMMotionManager alloc] init];
    motionManager.deviceMotionUpdateInterval = 0.01;
    frequence = 100;
    Then I have a method invoked by a button :
    [motionManager startDeviceMotionUpdatesToQueue:[NSOperationQueue currentQueue]
    withHandler: ^(CMDeviceMotion *motionData, NSError *error)
    CMRotationRate rotation = motionData.rotationRate;
    CMAcceleration acceleration = motionData.userAcceleration;
    NSLog(@"rotation rate = [%f, %f, %f, %f]", rotation.x, rotation.y, rotation.z, motionData.timestamp);
    NSLog(@"acceleration rate = [%f, %f, %f, %f]", acceleration.x, acceleration.y, acceleration.z, motionData.timestamp);
    Any help appreciated,
    Thanks for your time
    Loïs

    Oracle FAQ page: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#08_01
    Well obviously that was really stupid.
    I'm adding some queries to an older part of our code base and while reading through the documentation for one of the classes I found that we weren't using our normal Hibernate queries because we needed to ensure that we weren't sending Timestamps to Oracle. Apparently the Timestamp would be converted to a Date because the column in the database was of type DATE. This was causing problems because the DATE column's index was being ignored and the table contains millions of records.
    Not sure I follow that logic.
    If the value was going into the database then it would update the index.
    From that only one of the following could be true.
    1. It wasn't going into the database.
    2. It was being truncated to a date.
    The Oracle FAQ seems to indicate that this has been fixed in the 11.1 JDBC drivers. I know that I can use 11.1 JDBC drivers with a 10.2.0 database, but will it use the new 11.1 mappings for DATE and TIMESTAMP or the old 10.2.0 mappings? I would agree with your interpretation of the FAQ.
    And I would then follow it up by testing both with the old driver and the new.

  • Production Order Change Date and Timestamp

    Hi, While trying to change the quantity and date of a production order I want to capture the date and timestamp of the change time.
    Please let me know which table or function module can be used for this. Thanks.

    Check AUFK-->AEDAT
    Regards
    AM

  • DATE and TIMESTAMP problem - fixable with 11.1 JDBC Driver?

    I'm adding some queries to an older part of our code base and while reading through the documentation for one of the classes I found that we weren't using our normal Hibernate queries because we needed to ensure that we weren't sending Timestamps to Oracle. Apparently the Timestamp would be converted to a Date because the column in the database was of type DATE. This was causing problems because the DATE column's index was being ignored and the table contains millions of records.
    The Oracle FAQ seems to indicate that this has been fixed in the 11.1 JDBC drivers. I know that I can use 11.1 JDBC drivers with a 10.2.0 database, but will it use the new 11.1 mappings for DATE and TIMESTAMP or the old 10.2.0 mappings? Oracle FAQ page: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#08_01

    Oracle FAQ page: http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#08_01
    Well obviously that was really stupid.
    I'm adding some queries to an older part of our code base and while reading through the documentation for one of the classes I found that we weren't using our normal Hibernate queries because we needed to ensure that we weren't sending Timestamps to Oracle. Apparently the Timestamp would be converted to a Date because the column in the database was of type DATE. This was causing problems because the DATE column's index was being ignored and the table contains millions of records.
    Not sure I follow that logic.
    If the value was going into the database then it would update the index.
    From that only one of the following could be true.
    1. It wasn't going into the database.
    2. It was being truncated to a date.
    The Oracle FAQ seems to indicate that this has been fixed in the 11.1 JDBC drivers. I know that I can use 11.1 JDBC drivers with a 10.2.0 database, but will it use the new 11.1 mappings for DATE and TIMESTAMP or the old 10.2.0 mappings? I would agree with your interpretation of the FAQ.
    And I would then follow it up by testing both with the old driver and the new.

  • How to find the timestamp and SCN in the standby database?

    Hai,
    I have Oracle 9.2.0.4 RAC with 2 nodes in the production. The logs generated at these servers will be manully moved to my standby database and will be applied. To know what isthe maximum log files applied in the standby database, i am using the below mentioned query in the standby database,
    Select thread#,max(sequence#) from v$log_history group by thread#
    In general i am using "recover standby database until cancel" command and then checking the database with the above mentioned query whether all the logs are applied or not.
    If i use time based or scn based recovery in standby database i.e., "recover standby database until time <time>" or "recover standby database until change <scn number>" , after completion of the recovery, apart from the message "Media recovery complete" or by seeing the alert log, is there any way to query the standby database, so that i can identify the time or scn upto which the archived redo log files got applied.

    Hi Sridhar,
    There should be some view which will have applied_scn information. There is one more option i can suggest, you can create a heart beat table in production with 2 column like scn and timestamp. Update this table every minute. From standby db you can query this table and get fair idea on applied_scn and timestamp.
    While exporting you can export using flashback_scn by taking the value from heartbeat table of standby.
    This heartbeat table is used very common in streams environment. Just see if this helps you.
    hth,
    http://borndba.com

  • SimpleDateFormat and Timestamp does not exist in the 1.6 JDK (1.6.0_18)

    I am trying to compile a program with SimpleDateFormat and I get "cannot find symbol". I'm using Netbeans and Maven and in Netbeans, the software finds the correct import java.text.SimpleDateFormat, so it's not a question of the definitions not being there, it's the compiled classes that are missing somehow.
    Any ideas what could be the problem?
    My classpath: CLASSPATH=.;C:\Program\Java\jdk.1.6.0_18\jre\lib\resources.jar;C:\Program\Java\jdk1.6.0_18\jre\lib\rt.jar;C:\Program\Java\jdk1.6.0_18\jre\lib\sunrsasign.jarI reinstalled both netbeans and the JDK (after first uninstalling them, then removing any remaining files manually and then rebooting my computer).
    This simple application demonstrates the problem:
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    public class DatabaseBuilder
        private DateFormat m_formatter;
        public DatabaseBuilder()
            m_formatter = SimpleDateFormat( "yyy-MM-dd HH:mm:ss" );
    }Resulting output:
    DatabaseBuilder.java:10: cannot find symbol
    symbol  : method SimpleDateFormat(java.lang.String)
    location: class DatabaseBuilder
            m_formatter = SimpleDateFormat( "yyy-MM-dd HH:mm:ss" );
                          ^
    1 error

    dh-at-cross wrote:
    On the internet it is easy to be misunderstood and to me your message came across much more "read the error message, stupid" than you intended I just wanted to let you know.I'm aware that it's easy to be mis-understood on the internet. But to be totally honest: that's a risk, I'm willing to take.
    The alternative is to be extremely polite in every post and add an extensive disclaimer describing my very intent in addition to the pure technical discussion.
    But I choose not to do that (and thus tolerate a (hopefully) small number of people who are offended by me) for several reasons:
    - I'm to lazy to write that disclaimer
    - writing it would cost time, which I can use better for helping others or getting some work done
    - writing that disclaimer would give people the impression that it will always be that way, but it's not true: you'll have to be able to deal with technical criticism in the technical world
    - if someone wants to feel offended, they will find a reason, no matter how polite I am

  • Quirk with storage VI's and timestamp data.

    This is a minor bug (since it's easy to work around if your aware of it)
    I'm running LV 8.0.1 and writing a timestamp through the Write Data Storage VI, will store different times
    depending on whether I pass just the timestamp in or the timestamp wrapped in an array. The timestamp
    wrapped in an array is accurate, but a single timestamp is by 10 hours behind (and considering that I'm in
    the PST (GMT-8:00) timezone), I'm not sure why it's 10 hours off.
    I attached a VI that demostrates what is happening. The workaround for now is just to wrap timestamps in arrays
    before sending them into the write data storage vi.
    Attachments:
    Storage VI Bug 2.vi ‏68 KB

    Hi,
    Thank you for the feedback. I have filed a bug report for this behavior to out development team.
    Thanks,
    Ankita Agarwal, National Instruments

  • How to validate date and timestamp format? Please help!

    Hi experts,
       I have a input field "receipt_date" with is of char20 type. It contains date and timestamp value like 20090429T054509.000Z
       In my ABAP code I want to validate if "receipt_date" value is in the format YYYYMMDDTHHMMSS.MMMZ. If not then display error message. How can do this validation? Is there any existing function module that does this kind of validation? Please help!
    Thanks & Regards
    Gopal

    Hi Gopal,
    Can you check whether the FM CACS_TIMESTAMP_GET_DATE is available in XApps? If yes, use this to identify a valid timestamp.
    Sample code:
        CALL FUNCTION 'CACS_TIMESTAMP_GET_DATE'
          EXPORTING
            i_timestamp = lv_stamp
          IMPORTING
            e_date      = lv_datum
            e_time      = lv_time.
    Hope this helps! Do let me know if you need anything else!!
    Cheers,
    Shailesh.
    Always provide feedback for helpful answers

  • Starting getting text error message 2114 invalid number of digits.Contacted carrier with no response, getting fed up that this problem cannot be resolved, in the middle of maying funeral arrangements and started getting the same message

    Getting this message or a couple of my contacts, which have been texting OK , Have deleted them reentered with 10 digits nothing,
    they can text me but I cannot respond to them - now in the middle of receiving info on a death in the family - started getting the same message, and
    the day before all text's were going through fine. Have contacted carrier no one seems to know how to solve the problem. NOT A HAPPY CAMPER RIGHT NOW!

    First, uninstall "SuperTV" (whatever that is) according to the developer's instructions. It isn't working and it's filling the log with noise.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Post the messages logged before the boot, while the system was unresponsive or was failing to shut down. Please include the BOOT_TIME message at the end of the log extract.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message. When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    PLEASE DO NOT INDISCRIMINATELY DUMP THOUSANDS OF LINES FROM THE LOG INTO A MESSAGE. If you do that, I will not respond.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • How to incorporate File name and timestamp automatically into select and save file dialog box?

    Hello,
    i am trying to incorporate the file name which is inputed by the user along with the timestamp into the selected and save file dialog box. Can you help?
    Thanks
    Solved!
    Go to Solution.

    You can pass a default file name to the 'File Dialog' Express VI.
    Use the 'selected path' output to open the file.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness
    Attachments:
    FileDialog.vi ‏21 KB

  • How to set different creation timestamps in the Incidents coming from different countries?

    Hello experts, I need that when a user calls to our Service Desk in order to create an incident, the incident gets the creation timestamp of the user country. We support three countries from our service desk, and in order to calculate SLAs and having local factory calendars for each country we need the things this way, is it possible?
    Best Regards,
    Paul

    Hi Paul,
    what about the Option of determining one of three SLA Service Products (with assigned Service + Response Profile) via the Country of the Reporter?
    Please check the following BadI:
    CRM_SLADET_BADI with Method CRM_DETERMINE_PROFILE
    Regards,
    Robert

Maybe you are looking for

  • It un

    most of my applications on my macbook will not open (ichat, mail, iphoto, etc..). It tells me that the application has quit unexpectedly, mac OS X and other applications are not affected. Click relaunch to launch the application again. Click report t

  • After installing the latest version of Kaspersky Anti-virus, I can no longer receive e-mails.

    I can send e-mails, but I can't receive any and they do not get copied to my Sent folder. I have two accounts (using the same Thunderbird installation and the same IMAP server) and both have the same problem. Thunderbird no longer asks my for my pass

  • Grouping issue- LiveCycle Designer 7.0

    Hello, We are trying for the past few days to create a dynamic PDF that uses an XML Data source to parse and display grouped information, We have taken a look at the samples but none of them seem to be helpful in this case. For ex. If we have a XML d

  • Duplicate Office Desktop Shortcuts

    We are migrating from Novell GroupWise to Outlook 2010. Our existing users have Word, Excel and PowerPoint installed in Windows 7 x64 Professional, so I created an Office MSP patch file using the Office Customization Tool. The MSP works and after app

  • X230 won't wake up from hibernatio​n-- different issue from x1 post

    only got my x230 last week, the same problem has happened twice. I put my laptop into hibernation mode, when I turned it back on, it led to a black screen. it seems like it's running (with the green light for the wifi and power being on) and when i c