12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Storing Datetime Data<strong>Oracle</strong> Database provides various functions for calculating and converting datetimedata. For examples in <strong>SQL</strong> statements, see Using Date Functions.Be careful when using a date format such as DD-MON-YY. The YY indicates the year inthe current century. For example, 31-DEC-92 is December 31, 2092, not 1992 asyou might expect. If you want to indicate years in any century other than the currentone, use a format mask such as the default RR.You can use the following techniques to change the default date format on a moreglobal level:■To change on an instance-wide basis, use the NLS_DATE_FORMAT parameter.■ To change during a session, use the ALTER SESSION statement.For more information on these techniques, see Working in a Global Environment.See Also:■■<strong>Oracle</strong> Database <strong>SQL</strong> Reference for more information about date andtime formats<strong>Oracle</strong> Database Concepts for information about Julian dates. <strong>Oracle</strong>Database Julian dates might not be compatible with Julian datesgenerated by other date algorithms.Data Types: Usage Information 5-7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!