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 Data5.3.3.1 BINARY_FLOATBINARY_FLOAT is a 32-bit, single-precision floating-point number data type. EachBINARY_FLOAT value requires 5 bytes, including a length byte.5.3.3.2 BINARY_DOUBLEBINARY_DOUBLE is a 64-bit, double-precision floating-point number data type. EachBINARY_DOUBLE value requires 9 bytes, including a length byte.In a NUMBER column, floating point numbers have decimal precision. In a BINARY_FLOAT or BINARY_DOUBLE column, floating-point numbers have binary precision.The binary floating-point numbers support the special values infinity and NaN (not anumber).You can specify floating-point numbers within the limits listed in Table 5–2 onpage 5-5.Table 5–25.4 Storing Datetime DataThis topic contains the following topics:■■Using DATE and TIMESTAMP Data TypesManipulating the DATE and TIME Formats5.4.1 Using DATE and TIMESTAMP Data Types<strong>Oracle</strong> Database supports the following datetime data types:■■■■DATETIMESTAMPFloating Point Number LimitsValue Binary-Float Binary-DoubleMaximum positive finite value 3.40282E+38F 1.79769313486231E+308Minimum positive finite value 1.17549E-38F 2.22507485850720E-308TIMESTAMP WITH TIME ZONETIMESTAMP WITH LOCAL TIME ZONESee Also:■<strong>Oracle</strong> Database <strong>SQL</strong> Reference for information on DATE,TIMESTAMP, TIMESTAMP WITH TIME ZONE, and TIMESTAMPWITH LOCAL TIME ZONE data types5.4.1.1 Using the DATE Data TypeUse the DATE data type to store point-in-time values (dates and times) in a table. Anapplication that specifies the time for a job might use the DATE data type.The DATE data type stores the century, year, month, day, hours, minutes, and seconds.The valid date range is from January 1, 4712 BC to December 31, 9999 AD.Data Types: Usage Information 5-5

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

Saved successfully!

Ooh no, something went wrong!