What are data types? Explain any two of them. | question and answer !



Question:-

What are data types? Explain any two of them.

Answer:-

A data type indicates the type of data the fild may store. Once the data type is defined, we cannot enter a different type of data. If we try to do so, an error message will be displayed.

Text : It is used to store text or a combination of text and numbers that does't require calculations, such as addresses phone numbers etc. It can store up to 255 characters.

Number : Stores numeric information that you can use for calculations. A  number data type can store integer values as well as decimal values. The maximum size of a number field can be 16 bytes.

No comments