SQL Server field type decimal (18,6) before the decimal point is a few?Admittedly, this is a very low-level problem ....Why do you ask such a low-level question?Because of this problem, an SP failed to perform a data import .... That bothered me for
Original: SQL Server field type decimal (18,6) How many are before the decimal point? Remember the database SP bug handling onceSQL Server field type decimal (18,6) before the decimal point is a few?Admittedly, this is a very low-level problem
In MySQL data types, such as INT, FLOAT, DOUBLE, CHAR, and DECIMAL, they all have their respective functions, next we will mainly introduce the role and usage of the DECIMAL type in the MySQL data type.
Generally, the value of the floating point
Description of the meaning of N and M in MySQL Data Type DECIMAL (N, M), mysqldecimal
My colleague asked me what the meaning of N and M in the MySQL Data Type DECIMAL (N, M). Needless to say, M is obviously the DECIMAL place, but is N the maximum
In MySQL data types, such as Int,float,double,char,decimal, and so on, they all have their own role, below we will mainly introduce the MySQL data type of the role and use of the decimal type.The value that is normally given to a floating-point
Fixed-Point types (exact value)-decimal, numeric
Decimal (M, d)
The decimal and numeric types store exact numeric data values.These types are used when it is important to preserve (SAVE) exact precision (precision), for example with
Float and decimal type bitsCN.com in MySQL
Float and decimal types in MySQL
Float and double are prone to errors. when the precision requirements are relatively high, decimal is recommended for storage. decimal is stored in mysql memory as a
There are non-standard data types such as float,double in MySQL, as well as standard data types such as decimal. The difference is that non-standard types, such as float,double, hold approximate values in db, while decimal saves values as strings.
See: http://blog.yemou.net/article/query/info/tytfjhfascvhzxcyt336A real number is one with a fractional part. However, they are not just for storing fractional parts, but they can also be usedDeclmal stores an integer larger than the bigint. MySQL
Comparison of NUMERIC and DECIMAL types in Mysql, numericdecimal
Decimal (numeric) is synonymous and used to precisely store values.
A decimal data type can store up to 38 numbers. All numbers can be placed on the right of the decimal point. The
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.