Home >> SQL >> Floating Data Types in SQL

Floating Data Types in SQL

The Following floating data types are-

1)-Float(M,D)-A floating point number can not unsigned.

Default range from (10,2)

10 - total number of digits(including decimals)
2 - Number of decimal

2)-Double(M,D)-A double precision floating point number can not unsigned.

Default range from (16,4)

16 - total number of digits(including decimals)
4 - Number of decimal

Post Your Comment

Next Questions
Date and Time Data Types
String Data Types
Enum Data Types
SET Data Types
Difference between varchar and char
Difference between Tinyint and smallint
Difference between enum and set
Difference between signed and unsigned
Operators
Arithmetic Operators
Comparison Operators
Logical Operators
What is key
What is super key
What is candidate key
What is primary key
What is unique key
What is foreign key
What is join
What is cross join
What is natural join
What is outer join
What is self join
What is aggregate function
COUNT(*) aggregate function

Copyright ©2022 coderraj.com. All Rights Reserved.