Something like Decimal(19,4)
usually works pretty well in most cases. You can adjust the scale and precision to fit the needs of the numbers you need to store. Even in SQL Server, I tend not to use “money
” as it’s non-standard.
More Related Contents:
- SQL Query needed for fetch value from Two identical table but not fully identical table
- How to create a MySQL hierarchical recursive query?
- Error related to only_full_group_by when executing a query in MySql
- How to reset AUTO_INCREMENT in MySQL
- How to declare a variable in MySQL?
- MySQL Query GROUP BY day / month / year
- MySQL Cannot Add Foreign Key Constraint
- Grouping into interval of 5 minutes within a time range
- SQL counting all rows instead of counting individual rows
- Adding a leading zero to some values in column in MySQL
- Using SQL to determine word count stats of a text field
- Update one MySQL table with values from another
- MySQL JOIN the most recent row only?
- How to transpose mysql table rows into columns
- MySQL Group By and Sum total value of other column
- MySQL incorrect key file for tmp table when making multiple joins
- Does the order of conditions in a WHERE clause affect MySQL performance?
- Difference between these two joining table approaches?
- MySQL query, MAX() + GROUP BY
- MySQL export into outfile : CSV escaping chars
- Simple Random Samples from a MySQL Sql database
- ALTER table – adding AUTOINCREMENT in MySQL
- sql like operator on integer
- MySQL Select minimum/maximum among two (or more) given values
- MySQL – SELECT * INTO OUTFILE LOCAL ?
- SQL (MySQL) vs NoSQL (CouchDB) [closed]
- DELETE FROM `table` AS `alias` … WHERE `alias`.`column` … why syntax error?
- MySQL update statement to store ranking positions
- How to convert a varchar column type to date type without losing the dates
- MySQL Multiple Joins in one query?