Total Pageviews

SQL SERVER : Difference between Decimal and Numeric data type

  • "decimal" and "numeric" data types both are exactly same or we can say They are synonymous to each other and either one can be used.
  • "decimal" and "numeric" both data types are numeric data types with fixed precision and scale.
  • "numeric" data type is functionally equivalent to "decimal" data type.

Syntax:-
decimal[(p[, s])]
numeric[(p[, s])]



facebook

No comments:

Post a Comment