How does it gets the time

hi all ,
declare
mydate date ;
begin
mydate := sysdate ;
dbms_output.put_line(mydate);
end;
i have an existing script that looks like above except it writes into a table e.g tbl1 , Field1
what i dun understand is the output shown is : 31-JUL-06
but why it comes with the time when i select * from tbl1 ? e.g 7/31/2006 3:01:01 AM
how come the date format is different as i do not see any to_char(sysdate , date_format_expression) ??
is this something defulted by Oracle ?
tks & rdgs

---See the difference:
SQL> declare
  2  mydate date ;
  3  begin
  4  mydate := sysdate ;
  5  dbms_output.put_line(mydate);
  6  end;
  7  /
31-JUL-06
PL/SQL procedure successfully completed.
SQL> select mnt from visit;
MNT
09-JAN-06
10-JAN-06
SQL> alter session set nls_date_format='MM/DD/YYYY HH:MI:SS AM';
Session altered.
SQL> select mnt from visit;
MNT
01/09/2006 07:43:01 PM
01/10/2006 07:43:21 PM
SQL> SELECT SYSDATE FROM DUAL;
SYSDATE
07/31/2006 09:01:35 AM
SQL> declare
  2  mydate date ;
  3  begin
  4  mydate := sysdate ;
  5  dbms_output.put_line(mydate);
  6  end;
  7  /
07/31/2006 09:02:58 AM
PL/SQL procedure successfully completed.

Similar Messages

  • How do I get the time stamp on photo?

    How do I get the time stamp on photo? Someone texted me a few pics and it does not show date taken in iphoto. How can I find this. They were taken with a iphone. Thx

    Here's a screenshot of what Keith is referring to:
    Note the cursor over the date which brings up the 3 important dates for the photo.
    OT

  • How does one get the Satellite to work in Google Maps ?

    How does one get the Satellite to work in google maps ?

    I am experiencing exactly the same issue - iMac, 10.6.8.  Thanks for reporting it - I thought I was going nuts.  What happens from here?  Does Apple watch these postings?  Do we just hope that they find the bug themselves?  Is there a vehicle for reporting bugs directly to Apple?
    Thanks in advance.

  • How can i get the time to appear on my stored data in notepad

    Hi all,
    I was wondering how can i get the time to appear on my stored data in notepad? I saw an example before but i forgotten which example was it.. Any ideas??
    holla
    Attachments:
    TextFile1.txt ‏3 KB

    Hi
    Im using Labview 8.2. Currently it just shows the data without the time. Im not sure what to do. It works perfectly though. I just want the time to appear on my notepad along with my data
    holla
    Attachments:
    Testing1.txt ‏1 KB
    Untitled 231_LV80.vi ‏23 KB

  • How can i get the time and result together show in one Array or in Cluster?

    hello everyone i am a new user .I want to get the time and voltge form a Generater. How can i get the time and result together show in one Array or in Cluster?When i selecte the first(or third...) result then in the front panel display the time and the voltge.Thank you!
    I post the time and voltge NOT together photo
    Attachments:
    12345.GIF ‏54 KB

    You can create an array of clusters with one element being the time and the other being the voltage, like so (using the "Get Waveform Components" function):
    Message Edited by smercurio_fc on 10-17-2007 03:15 PM
    Attachments:
    pic.PNG ‏11 KB

  • How can I get the time in Microsecond with JNI ?

    How can I get the time in Microsecond with JNI ?

    JNIEXPORT jdouble JNICALL Java_Win32Native_queryPerformanceFrequency (JNIEnv *env, jobject obj) {
         LARGE_INTEGER lFrequency;
         ::QueryPerformanceFrequency(&lFrequency);
         return (jdouble)lFrequency.QuadPart;
    JNIEXPORT jdouble JNICALL Java_Win32Native_queryPerformanceCounter (JNIEnv *env, jobject obj) {
         LARGE_INTEGER lpCounter;
         ::QueryPerformanceCounter(&lpCounter);
         return (jdouble)lpCounter.QuadPart;

  • How do i get the time to stopping coming on and off on my black screen. is that daydream

    how do i get the time to stop coming on and off on my black screen. is that daydrea

    https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/95499/p/30,6720,8882

  • How do I get the Time Capsule to run both 5GHz and 2.4GHz networks at the same time.

    How do I get the Time Capsule to run both 5GHz and 2.4GHz networks at the same time.

    Thanks for digging out the facts.
    You have a 1st Generation Time Capsule.
    Your model can produce two bands....either 2.4 GHz or 5 GHz....but not both simultaneously.
    You would need a Generation 2, 3 or 4 Time Capsule for simultaneous dual band capability.

  • HOW CAN I GET THE TIME IN EXCEL SHEET USING WRITE TO MEASUREMENT INSTRUCTION

    HI, I am using GET TIME IN SECONDS ,and after that i placed SECONDS TO DATE /TIME instruction ,and i had taken a write to measurement file instruction
    to get the time in excel sheet. Now i am not able to connect write to measurement source to seconds to date and time output . Is there any solution.
    I am attaching my VI file also.
    Attachments:
    TEST.vi ‏43 KB

    Hi
    Im using Labview 8.2. Currently it just shows the data without the time. Im not sure what to do. It works perfectly though. I just want the time to appear on my notepad along with my data
    holla
    Attachments:
    Testing1.txt ‏1 KB
    Untitled 231_LV80.vi ‏23 KB

  • How can i get the time detail with messageDateField ?

    Is there any common way of getting the time info with messageDateField ? As far as i research, there is no way of adding the time support of messageDateField such that it can be enabled by setting a parameter to true like getTime="true". Thanks.
    Fatih ER

    Sebahattin,
    You can display the time component by adding the timeStyle attribute:
    <onSubmitValidater>
    <date dateStyle="shortish" timeStyle="short" />
    </onSubmitValidater>
    Unfortunately, in the current release, when you save the date, the time will be lost. We have fixed this for the next release. As a work around, you can continue the route you have chosen with a separate time field.
    To get the time value in your entity object you can add a transient attribute "time" to both your VO and EO. In the UIX page, you create a field with the same name and set persistent="true". Now, the JHeadstart save process will simply send the time field to your EO through your VO, and you can use it to add the time component to your date field.
    Steven davelaar.

  • How can I get the time for a simulate signal express vi waveform?

    I tried converting to an array and then indexing, but every index I try only gives me the y value. See attached VI for clarification on what I mean.
    Attachments:
    simulate signal.vi ‏49 KB

    You will have to keep track of that yourself.  You are sampling at 360kHz.  This means that each sample is ~2.8us.  You can easily get the time by taking that dt (2.8us) multiplied by the sample index and adding the time at which the first sample was taken.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • TS3938 How does one get the upgrades necessary after getting Lion when there is no upgrade for Real Player for Mac????

    Just got Lion. How can I get the upgrades necessary if there is no t one for Real Player for Mac????

    http://www.macupdate.com/app/mac/8428/realplayer-sp

  • Simple calculation dbms_ulitility.get_time , how do i get the time?

    hi guys,
    in the documentation, it says
    <i>s function determines the <b>current time</b> in 100th's of a second </i>
    so i am wondering, how does it convert a current time
    let say 13:01:05 to centiseconds ? and how to convert it back ?
    regards,
    noob

    See Note:118444.1 Negative Number Returned When DBMS_UTILITY.GET_TIME is Used. It's stated that the reference is the startup time of the system and when the system is running for a long time this value may become negative because the size of the variable has passed
    the border. So there's no way to get the wall clock time using this function.
    Enrique

  • How do I get the Time Capsule to automatly erase old back ups?

    I have a 1TB Master HD in my Mac Pro that I back up using a 1 TB Time Capsule. So far I've used just over 500GBs on the Hard Drive which has really stumped my Time Capsule because it comes up saying it needs 400 odd gbs to do a full back-up of my Master HD. So now when ever its on and trys to do a back up it comes up failed because it says it doesnt have enough room to do its thing. Arnt Time Capsules supposed to delete the older back ups once its full? I exclude all other HDs from the Time Capsules back-up but I cant workout what more I can do....I can understand it if a 1TB Time Capsule could only back up 900gbs of Data but I'm only asking this 1TB TCaps to back up 500odd gbs. Anything I could or should be doing? I dont use the Airport as I only bought it to do backups. And because I have a wireless router for the houses PCs, Apple cant even tell me why I cant back up wirelessly so I have to use an ethernet cable.
    Any advice or help would be much apperciated!    

    Time Machine has no problem automatically erasing old backups if your new backup is a normal size for an "incremental" backup. So it can handle things up to approximately 2-3 GB without running into trouble.
    If the backup is too large, then you have to decide whether to erase the Time Capsule disk entirely and start over with a new "master" backup and move forward.....or.....manually delete enough backups to create enough space on the drive....which can get tricky.
    See Pondini's excellent Time Machine - Troubleshooting, in particular #C4 and the pink box.
    http://web.me.com/pondini/Time_Machine/C4.html

  • I have gifted songs to a friend in Germany. She is asked for a redeem code. No need for this in the US. How does she get the redeem code?

    My friends in the US that I gift songs to do not need a redeem code so why does my friends in Germany need one if they have and Apple ID? Where do I get the redeem code or my money back and how do I get Apple to respond? It has been days since I submitted a request for support. Support ***** for store purchases. Sorry but it does.

    Apple store and ITunes is international so why wouldn't we be able to send a gift to anyone around the world? Music works across borders as well. Apparently ITunes really doesn't and this is not spelled out clearly when we make a purchase. The button works, the charge is on my account, but the gift can not be opened.

Maybe you are looking for

  • Cant get rid of old Apple ID

    I am trying to get my iCloud set up on a macbook air (2012) as I am about to upgrade my phone to a 6 and want to make sure everything will sync correctly. I have updated to OS X Yosemite and that is all working fine as far as I can see. I keep gettin

  • Access dynamicConfiguration in PI7.1 userdefined Mapping

    Hi All, how can i access the DynamicConfiguration for reading the adapter specific message attributes in a user defined mapping in PI7.1. when trying to do it like in PI7.0 i get an exception that the parameter with the key StreamTransformationConsta

  • Why is Safari 6.0 OSX 10.8.1 crashing

    My Safari is crashing, backed up entire HD to external drive with SuperDuper 2.7.1, reformatted both drives in process of backup and restore. Checked both drives with DiskUtility before and after this process, Macintosh HD had non-recoverable errors

  • Multi Language Character sets

    Does anyone know if the oracle odbc drivers support multi language character sets? I am trying to retrieve Chinese (prc) characters from the database (it is stored correctly and I have the Microsoft Multilanguage service pack installed). Odbc won't r

  • Photos in ESS/MSS

    Hi gurus Can anybody tell me the procedure to view the employee photo in ESS and MSS. Photo is already shown in PA30 TC Regards Waseem