What is datatype? What are the different datatypes available in MySQL? Give example for each datatype.
Answers
Answered by
0
Answer:
A data type, in programming, is a classification that specifies which type of value a variable has and what type of mathematical, relational or logical operations can be applied to it without causing an error.
Numeric Data Type Syntax.
Integer Types (Exact Value) - INTEGER, INT, SMALLINT, TINYINT, MEDIUMINT, BIGINT.
Fixed-Point Types (Exact Value) - DECIMAL, NUMERIC.
Floating-Point Types (Approximate Value) - FLOAT, DOUBLE.
Bit-Value Type - BIT.
Numeric Type Attributes.
Out-of-Range and Overflow Handling.
Explanation:
hope this helps
Similar questions