In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Introduction to 1.Oracle data types
When you create a table, you must specify a data type for each column. The following are the categories of the Oracle data type:
two。 Character data type
The CHAR data type is used when a fixed-length string is required.
The CHAR data type stores alphanumeric values.
The column length of the CHAR data type can be 1 to 2000 bytes.
The VARCHAR2 data type supports variable length strings
The VARCHAR2 data type stores alphanumeric values
The size of the VARCHAR2 data type ranges from 1 to 4000 bytes
The LONG data type stores variable length character data
The LONG data type can store up to 2GB
3. Numeric data types can store integer, floating-point and real data with a precision of up to 38 bits
Declaration syntax for numeric data types:
NUMBER [(p [, s])]
P for precision and S for the number of decimal places
4. Date-time data type
Date-time data type stores date and time values, including year, month, day, hour, minute, second
DATE-stores the date and time parts, accurate to the entire second
TIMESTAMP-stores date, time, and time zone information with seconds accurate to 6 decimal places
5. Binary data
The RAW data type is used to store binary data
The RAW data type can store up to 2000 bytes
The LONG RAW data type is used to store variable length binary data
The LONG RAW data type can store up to 2 GB
6. Pseudo columns in Oracle are like a table column, but they are not stored in a table. Pseudo columns can be queried from the table, but their values cannot be inserted, updated, and deleted. The common pseudo columns are ROWID and ROWNUM.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.