Ch-9 Starting With LibreOffice Base
Ch-9 Starting With LibreOffice Base
Data Types
A data type refers to the type of data that will be stored in that particular field. The memory
size of a field varies according to its data type. Some commonly used data types are:
1. Text Data Type -
The text data is a combination of letters, numbers or special characters.
No arithmetic calculations can be performed on text data.
Examples of text data type is PAN Card Number, Name, Marks, etc.
Various types of Text data types are:
Memo LONGVARCHAR It is used to store some descriptive data having more than 255
characters. It can store text data up to 64,000 characters.
Text VARCHAR It Stores upto the specified length. The number of bytes
consumed depends on the number of characters entered by
the user. For example, the address is defined as varchar (50),
and if the address entered by the user is of 20 characters, then
only 20 bytes will be occupied in the database.
2. Numeric Data Type –
Numeric data types consist of numbers.
The numbers can be integer or real numbers on which any type of arithmetic
calculations can be performed.
For example, 10, -34.8, 90.6789, -86 are of numeric data type.