write the example of data type.
1.text
2.number
3.currency
4.date and time
Answers
Answer:
1. Text - One of the most common data types is text, also referred to as character strings. Strings contain alphanumeric characters. Even if the string contains numbers, they are treated as text.
2. Number - Numeric data types are numbers stored in database columns. These data types are typically grouped by: Exact numeric types, values where the precision and scale need to be preserved.
3. Currency - A data type used to declare variables capable of holding fixed-point numbers with 15 digits to the left of the decimal point and 4 digits to the right. Due to their accuracy, Currency variables are useful within calculations involving money.
4. Date and Time - The TIMESTAMP data type is used for values that contain both date and time parts. They are ordinal, as one date is bigger than the date before it. It is also quantitative as it can added, subtracted.
Answer:
Data type is an attribute associated with a piece of data that tells a computer system how to interpret its value. Understanding data types ensures that data is collected in the preferred format and the value of each property is as expected.
Data type is an attribute associated with a piece of data that tells a computer system how to interpret its value. Understanding data types ensures that data is collected in the preferred format and the value of each property is as expected.Please keep in mind that data types are not to be confused with the two types of data together referred to as customer data — entity data and event data.