Oracle Common database Fields

Source: Internet
Author: User

The database field types commonly used by Oracle are as follows:

>real
Field type Chinese description Restriction conditions Other instructions
CHAR Fixed-length strings Max Length bytes
VARCHAR2 Variable-length strings Maximum Length 4000 bytes Maximum length of index can be made 749
NCHAR Fixed-length strings based on character set Max Length bytes
NVARCHAR2 Variable-length strings based on character set Maximum Length 4000 bytes
DATE Date (day-month-year) Dd-mm-yy (HH-MI-SS) After rigorous testing, no problem of thousand worms
LONG Super Long string Maximum length 2G (231-1) Enough to store a tome
RAW Fixed-length binary data Max Length bytes can store multimedia image sound, etc.
LONG RAW Variable-length binary data Maximum length 2G Ditto
Blob Binary data Maximum length 4G
Clob Character data Maximum length 4G
NCLOB Character data based on the character set Maximum length 4G
BFILE Binary data stored outside the database Maximum length 4G
ROWID Unique line number recorded in the datasheet Bytes ********.****.**** format, * 0 or 1
Nrowid Unique line number recorded in a Binary data table Maximum Length 4000 bytes
Number (P,s) Number Type P is the integer digit, S is the decimal digit
DECIMAL (P,s) Number Type P is the integer digit, S is the decimal digit
INTEGER Integer type A small integer
FLOAT Floating-point type Number (38), double precision
real type number (63), higher precision

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.