SQL - Decimal(p,s)

> (Data|State) Management and Processing > (Data Type|Data Structure) > (Relation|Table) - Tabular data > Structured Query Language (SQL)

1 - About

The SQL decimal datatype is used to represent a fixed point notation

3 - Syntax

Decimal(d, f)

It means the column shall be able to represent decimal values up to and including d digits, of which f shall occur to the right of the decimal place; the values can be either represented exactly or interpreted to be in this range.