Oracle Role Creation Date time stamp

Hi All ,
Can anyone pls help me to find out the Date time stamp when a Role has been created into database .
Your early response will be appreciable.
Many thanks ,

Hi,
>>Actually I am searching through google to see the each column name description for sys.user$ but not able to find anything useful
These base tables are not documented (public) ... It seems that PTIME column stores the time stamp information when the password's user has changed.
SQL> create user myuser identified by myuser;
User created.
SQL> select
  2    name,
  3    to_char(ctime,'dd/mm/yyyy hh24:mi:ss') ctime,
  4    to_char(ptime,'dd/mm/yyyy hh24:mi:ss') ptime
  5  from
  6    user$
  7  where name='MYUSER';
NAME            CTIME               PTIME
MYUSER          30/04/2008 10:52:25 30/04/2008 10:52:25
-- waiting some time ...
SQL> alter user myuser identified by legatti;
User altered.
SQL> select
  2    name,
  3    to_char(ctime,'dd/mm/yyyy hh24:mi:ss') ctime,
  4    to_char(ptime,'dd/mm/yyyy hh24:mi:ss') ptime
  5  from
  6    user$
  7  where name='MYUSER';
NAME            CTIME               PTIME
MYUSER          30/04/2008 10:52:25 30/04/2008 10:53:08Cheers
Legatti

Similar Messages

  • Appending a creation date/time stamp to a filename using MS Command Language

    I need to access the creation date and time of an existing file and then append that date/time to the filename using MS command language in a .bat file.  The code executes on a Windows server.   I'm looking at different options for doing
    this.  I know it can be done using MS Powershell scripting.  Any other suggestions appreciated.  Thanks

    I tested the answer you supplied here:
    http://social.technet.microsoft.com/Forums/en-US/38873a13-f3f2-40f2-bb96-c1c63722caab/adding-a-datetime-stamp-to-a-file-using-ms-command-language?forum=winserverpowershell
    and it worked.
    Richard Mueller - MVP Directory Services

  • Error messages when sending date-time stamp to Oracle Database

      I have a complex application that communicates with an Oracle database.  One of the table values that gets written to the table is a date-time stamp.  Until recently, the user only required a date, and this was never an error. (The format String used was %d-%b-%Y)  Now they need a time-stamp as well, so I attempted to edit the format string input of the format date/time string function to include the time. I have tried numerous format strings, each of which returns an error on execution.  Depending on which format I use, I get one of 3 different error messages.  The really odd thing is that both the date and time always get stored in Oracle without any problem (regardless of what date-time I use, as long as I include the date and any part of a time stamp - I get the entire timestamp even if I only include %I for the hour).  The only issue is that LabVIEW generates an ODBC error if I try to include the time to the date-time stamp.  In other words, teh date/time stamp writes to the Oracle database, but an ODBC error occurs every time.  I've included a word doc with screen captures of the format strings used, the resultant date/time stamps written to Oracle and the error messages generated within LabVIEW. Any advice would be most appreciated.
    Attachments:
    Summary of ODBC Error messages related to date-time stamp.doc ‏65 KB

    Oracle has a standard date format: 12-Mar-2009 that it accepts as a string, but if you want more than that, you need to use the todate() function. I used this string going into the standard LabVIEW ''Format date/time sting vi' 
    to_date('%d-%b-%Y %H:%M:%S', 'DD-MON-YYYY HH24:MIS') to create the value needed for Oracle.
    Then I use standard format string to create SQL: insert into mytable (mydate) values(%s) and select * from my table where mydate = %s using the string above for %s.
    I think you can also define a global format for all time strings but I haven't bothered figuring that out.

  • Use files based on a date/time stamp in order

    I have a PL/SQL procedure that is using BFILE to pick-up and read a file. The file will have the same starting characters for every file followed by a date/time stamp: AAAA_09232009
    I need my procedure to use the file with the oldest date first and then rename the file after the procedure has run through it. Can anyone assist me in this? Below is the beginning of the procedure --Thanx in Advance:
    create or replace PROCEDURE XML_READ_FILE
    as
    v_bfile BFILE := BFILENAME('XML_DIR', 'AAAA_09232009.xml');
    v_clob CLOB;
    BEGIN
    DBMS_LOB.createtemporary(v_clob, TRUE);
    DBMS_LOB.OPEN(v_bfile, DBMS_LOB.lob_readonly);
    DBMS_LOB.loadfromfile(v_clob, v_bfile, DBMS_LOB.lobmaxsize);

    See if this helps:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584

  • Get the creation date time of the file located in persentation server

    Hi Experts,
    I have a requirement where i need to fetch the creation date time of a file.
    ex. file path :  C:\Documents and Settings\file.xml
    I have the file path, i need to know when this file is created.
    Is there any GUI services or FM to achieve this?
    Your help in this regard is highly appreciated.
    Kind Regards,
    Vidya

    Hi Sandeep,
    Thanks for your reply.
    Can you please explain in detail the procedure to Maintain a log table & fetching the
    creation date time of a file in persentation server.
    The requirement is :
    I have the directory path, which contains many xml files. ex : C:\Documents and Settings\Dir
    I have to fetch files ,which has been created between the specified time stamp.
    ex : October 24, 2008 to December 24, 2008
    So i need to fetch all the files from the directory "Dir" which has been created between
    October 24, 2008 to December 24, 2008.
    Regards,
    Vidya

  • How to print date & time stamp on photos?

    How to print date & time stamp on photos?

    Three methods:
    File>process multiple files>labels. Be sure to uncheck "same as source", or the originals will be overwritten. It is best to work on duplicate files, esp. while learning.
    Use the horizontal or vertical type tool to add the information manually to each picture file
    If the same information is to be applied to several pictures, e.g. a copyright notice, use  of a brush made in PSE is very efficient

  • The export file from a calc script - naming and date/time stamp

    Here is a simple calc script to export data.
    2 questions:
    1. Is there an easy way to add a date/time stamp on the name of the data file so that it does not overwrite the older ones every time?
    2. I tried to specify the path so that it write to another server. "\\mfldappp011\E:\Exp_AW.txt". It's not working. How should I specify the path ?
    Fix (@Relative("Yeartotal",0),"Actual","Working",&ActualYear);
    Dataexport "file" "," "C:\Exp_AW.txt" "#MI";
    EndFix;
    Edited by: user9959627 on Sep 7, 2012 11:25 AM

    Probably easiest to call the maxl script from a command line script, then rename the exported file to include the tme stamp and copy/move it to a location.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How do I to get the date/time stamp back on my texts in ioS7?

    I've looked and looked to find an option and I can't seem to locate one.  Does anyone know how to put the date/time stamp back...?  It does appear in, but not consistently.

    Swipe right to left and they will appear as you need them.

  • How do you vary the Date/Time stamp format in File Adapters

    In the receiver channel of the File Adapter where you specify the 'File Name Scheme', you do have the option of specifying a 'File Construction Mode' of 'Add Time Stamp'.  How can you specify a different Date/Time stamp format ( eg MM/DD/YY vs YYYYMMDD vs MMDDYY, etc. ) without changing the Date/Time stamp for the entire SAP system?  Also, can you control where the Date/Time stamp appears in the filename?

    Hi,
    There are many threads discussing the same issue. Go thro the following:
    Dynamic file name (Date) in Receiver File Adapter
    Receiver File Adapter - TimeStamp
    Bhavesh's reply in above thread:
    You can use Adapter Specific Identifiers and then change the file name in the mapping. Append the tiem stamp in the format that you want and so on.
    Just use this code in an UDF,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String SourceFileName = conf.get(key);
    java.text.SimpleDateFormat dateformat = new java.text.SimpleDateFormat( "yyyyMMdd" );
    dateformat.format( new java.util.Date() );
    String newfilename=SourceFileName+dateformat;
    // change to new file name
    conf.put(key, newfilename);
    return "";
    Regards,
    P.Venkat

  • Need to add date/time stamp to file name without time change creating new files

    We have setup our application to save data once a trigger event occurs. We also need the date/time stamp as part of the file name. We used Format Date/Time String and concatenated it into the file name. It all works good, but as the time changes (seconds, minutes, etc.) it causes the Write to File to create a new file with the new filename. Is there a way to create the file and save/latch/buffer the time in the file name so that it doesn't create a new file for every second?
    I've attached a shot of the relevant part of our VI. It's all in a big while loop. The data save is in a case/switch so that when it is triggered it starts saving. (The for loop is to split the data up
    into 4 different files). Like I said, it all works except new files are created every second as the time changes instead of just putting it all in one file with the initial time in the file name.
    Attachments:
    TimeInFileNameQuestion.jpg ‏46 KB

    I need a loop in order to use a shift register. I cannot stop the outer while loop (because it would stop the hardware from collecting data), and I cannot add loops inside which bogs down the processor to where the app stops. I've attached a simpler version of my VI which illustrates the problem. While the button is pressed (the trigger) it should save the data (in this case just cycle numbers) into one file with the initial date/time. But, you can see that it creates 1 file/second. I tried using shift registers, but without adding extra loops I can't see how to do it. Thanks
    Attachments:
    FileNameTest.vi ‏29 KB

  • How to add date/time stamp to PDF in Acrobat 9 Pro?

    Hello,
    I'd like to add a date/time stamp to a PDF so that when I print the document, the current date/time will be printed as well.  Is it possible to do this?  I found the following posting (http://forums.adobe.com/thread/502915), but am not able to get it to work for me.  I don't really know anything about using Javascript.  Any help would be much appreciated.
    Thanks!

    Not sure it will work, but you can try using the app.hideMenuItem() method. See reference here.

  • Date-Time stamp on CQ published pages

    Hello,
    How do I display last-published-date-time stamp for published CQ pages. This is critical to customers, as the date-time stamp determines the relevance of articles.
    Thanks,
    Suhas Yogin

    Try to adapt instance of com.day.cq.wcm.api.Page to com.day.cq.replication.ReplicationStatus and then use it's methods to get necessary data.

  • Date & Time stamp on QT movie playback

    Is there a way to turn on a date & time stamp on playback of QT movies provided that info is embedded in the QT info?

    Sach1n wrote:I want to put Date & Time Stamp on photos clicked via Nokia 5800XM. Is it possible?
    Hi Sach1n
    Unfortunately that is not feasible but you can view the EXIF Data on the 5800XM with a python application as per screenshot here:http://i35.tinypic.com/ht9ovs.jpg
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Date & Time Stamp on photos clicked via Nokia 5800...

    Hi,
    Can anyone help me out on this.
    I want to put Date & Time Stamp on photos clicked via Nokia 5800XM. Is it possible?
    Thanks in advance

    Sach1n wrote:I want to put Date & Time Stamp on photos clicked via Nokia 5800XM. Is it possible?
    Hi Sach1n
    Unfortunately that is not feasible but you can view the EXIF Data on the 5800XM with a python application as per screenshot here:http://i35.tinypic.com/ht9ovs.jpg
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • How do I remove date/time stamp?

    Upon uploading the pictures into the Lightroom 'library' none of them appeared to have the date stamp that they did in camera. After a few minutes, the date stamp for each started to appear. Seeing that they first loaded without the date stamp leads me to believe that I should be able to remove it easily. How can I do this without the hassle of cloning/cropping/editing. Is there a way to remove it from the metadata perhaps?

    Which data/time stamp are you talking about, and why do you want to remove it?
    I mean, it can probably be done using exiftool, but usually people want to keep it/them (or correct if wrong..).
    I mean #2, I think you can remove it from exports, e.g. using a plugin like Jeffrey Friedl's Metadata Wrangler (if Lr's coarse handling doesn't satisfy), or if Jeffrey's plugin won't do it, a plugin like Exportant would.
    Or if you just want to remove it from display - then press the 'i' key, or adjust view options, or define a metadata viewing preset...
    Rob

Maybe you are looking for

  • On-Screen Keyboard at the Login Window

    Good morning, We're looking at deploying a number of Mac Mini machines linked up to touchscreens for "Kiosks" where users have access to a web browser for email, but not much else. Once logged in, the On-Screen Keyboard works very well, and we can ma

  • How to load files from old external hard drive to new PC

    Copied files from old PC (Windows XP) to external hard drive. Purchased new PC (Windows 7). Paid technicians to transfer files from old PC to new PC. Some files were lost in the process. Please walk me through (step by step) on how to load spicific f

  • Can't install adobe raw 8.3 in Photoshop Elements 12

    Hello, We've been using Elements 10 for a number of years now without any issues with our camera's RAW formats. We just upgraded to a Nikon D5300, and much to our dismay, discovered it was not supported. After installing a trial of Elements 12 (can't

  • How to manage/copy/track  db in Oracle

    Hi, I'm working on dev ORacle db so we have couple of changes every day and then we go to change control location to log most recent source for each object: sp, package, ddl, etc.. Is there any good auto tool to make snapshot for the whole db and hav

  • Events with REUSE_ALV_GRID_DISPLAY

    Hi, I would like to insert a "top of list" and  "end of list" into an ALV GRID, is it possible? the problem is that the top is too big so we need to show it just in the first page and in the same time we need that an end of list should be showed. Her