[Info]Data Types | Database Pt 2
Data Types
Every day, people receive a large volume of data and process it. Humans can differentiate between various types of data without confusing them. For instance, humans can look at a series of data and categorize dates, numbers, payments and so on with minimal effort. However, computers need specific instructions to be able to process data. For example, if you just type 123, you cannot assume that the computer knows you entered numbers. You have to tell the computer about the type of data that is entered. Understanding data type can be a little confusing and requires some more explanation.
To illustrate data type, consider the following scenario: You have invited some of your friends over for a chess game, so you get the chessboard and all the pieces prepared. The board has 64 black and white squares and you need to place each piece on a specific square. Each piece has its own movement rules and authorities. You cannot place the king piece in the queen's square or use white pieces in place of black ones. You need to place each piece in its own square. Data type is very similar to this. Each piece of data will be stored in a different storage area and will be processed differently. Identifying data type is very important to computers. The computer reserves special storage for each data type and keeps track of them internally.
You may enter an address that includes numbers as well as alphabet characters. Although the address has numbers in it, by setting the data type as string you can treat it as alphabetical data.
I WILL NOW AGAIN draw up a table 4 u guys in Paint.NET

The most common datatypes we use are integer, string and decimal. The following sections give descriptions and examples of some of the data types in VB
Every day, people receive a large volume of data and process it. Humans can differentiate between various types of data without confusing them. For instance, humans can look at a series of data and categorize dates, numbers, payments and so on with minimal effort. However, computers need specific instructions to be able to process data. For example, if you just type 123, you cannot assume that the computer knows you entered numbers. You have to tell the computer about the type of data that is entered. Understanding data type can be a little confusing and requires some more explanation.
To illustrate data type, consider the following scenario: You have invited some of your friends over for a chess game, so you get the chessboard and all the pieces prepared. The board has 64 black and white squares and you need to place each piece on a specific square. Each piece has its own movement rules and authorities. You cannot place the king piece in the queen's square or use white pieces in place of black ones. You need to place each piece in its own square. Data type is very similar to this. Each piece of data will be stored in a different storage area and will be processed differently. Identifying data type is very important to computers. The computer reserves special storage for each data type and keeps track of them internally.
You may enter an address that includes numbers as well as alphabet characters. Although the address has numbers in it, by setting the data type as string you can treat it as alphabetical data.
I WILL NOW AGAIN draw up a table 4 u guys in Paint.NET


The most common datatypes we use are integer, string and decimal. The following sections give descriptions and examples of some of the data types in VB
