Data types for Oracle 9i

Source: Internet
Author: User
Tags date scalar variable
Oracle 9i provides a total of 16 scalar data types, as shown in table 7.4.
Table 7.4 Oracle 9i scalar data types
Name Meaning
Char Used to describe fixed-length character data, length <=2000 bytes
Varchar2 Used to describe variable-length character data, <=4000 bytes
NChar Fixed-length character data for storing Unicode character sets, length <=1000 bytes
Nvarchar2 Variable-length character data for storing Unicode character sets, length <=1000 bytes
Number Used to store integer or floating-point values
Date Used to store date data
Long Used to store variable length character data with a maximum length of 2GB
Raw Variable-length character data for storing unstructured data, <=2000 bytes
Long Raw Variable-length character data used to store unstructured data, <=2GB
rowID Binary data used to store the physical address of the column in the table, consuming a fixed 10 bytes
Blob Used to store up to 4GB of unstructured binary data
Clob Used to store up to 4GB of character data
Nclob Used to store up to 4GB of Unicode character data
Bfile Used to store unstructured binary data in operating system files other than the database
Urowid Used to store binary data that represents any type of column address
Float Used to store floating point numbers


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.