Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
-08:00 +07:00
+02:00 +10:00
-05:00
• CURRENT_DATE
– Returns the current date from the system
– Has a data type of DATE
• CURRENT_TIMESTAMP
– Returns the current timestamp from the system
– Has a data type of TIMESTAMP WITH TIME ZONE
• LOCALTIMESTAMP
– Returns the current timestamp from user session
– Has a data type of TIMESTAMP
…
…
Copyright © 2004, Oracle. All rights reserved.
TIMESTAMP WITH TIME ZONE Data Type
• For example:
'312-2' assigned to INTERVAL YEAR(3) TO MONTH
Indicates an interval of 312 years and 2 months
'312-0' assigned to INTERVAL YEAR(3) TO MONTH
Indicates 312 years and 0 months
'0-3' assigned to INTERVAL YEAR TO MONTH
Indicates an interval of 3 months
• For example:
INTERVAL '6 03:30:16' DAY TO SECOND
Indicates an interval of 6 days 3 hours 30 minutes
and 16 seconds
…
Copyright © 2004, Oracle. All rights reserved.
Daylight Saving Time