Oracle Common data type description _oracle

Source: Internet
Author: User
Type Meaning Storage description Note
CHAR Fixed-length strings Max length 2000bytes  
VARCHAR2 Variable-length strings , Max length 4000bytes Maximum length of the index can be 749
NCHAR Fixed-length string based on character set Max length 2000bytes  
NVARCHAR2 Variable-length strings based on character set Max length 4000bytes  
DATE Date (Day - month - year) Dd-mm-yy (HH-MI-SS), after rigorous testing, no thousand bug problem  
TIMESTAMP Date (Day - month - year) Dd-mm-yy (HH-MI-SS:FF3), after rigorous testing, no thousand bug problem compared to DATE,TIMESTAMP has a decimal bit of information
LONG Super Long string Max length 2G, enough to store voluminous books  
RAW Fixed-length binary data Max length 2000bytes can store multimedia image sound, etc.
LONG RAW Variable-length binary data Max length 2G can store multimedia image sound, etc.
Blob Binary data Max length 4G  
Clob Character data Max length 4G  
NCLOB Character data based on character set Max length 4G  
BFILE Binary data stored outside the database Max length 4G  
ROWID Unique row numbers for records in a datasheet 10bytes . ****.**** format,* 0 or 1
Nrowid Unique row numbers for records in a binary datasheet Max length 4000bytes  
Number (P,s) Number Type P is integer digit,S is decimal digit  
DECIMAL (P,s) Number Type P is integer digit,S is decimal digit  
INTEGER Integer type A small integer  
FLOAT Floating-point number type Number (number), double precision  
Real Real type Number (a), higher accuracy  

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.