70 likes | 162 Views
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. DATA STRUCTURES. Number – Can store only a number Text – Stores alphabetic, alphanumeric, numeric and special characters Memo - Stores lenghty text such as notes. Date /Time – Stores different format of dates and time
E N D
INFORMATION TECHNOLOGY DATABASE MANAGEMENT
DATA STRUCTURES Number – Can store only a number Text – Stores alphabetic, alphanumeric, numeric and special characters Memo- Stores lenghty text such as notes. Date /Time – Stores different format of dates and time Currency – stores currency values Auto-Number – Stores a unique sequential or random number which is inserted when a recoded is added. Yes/No (Logical) – Allows the storage of data that can have only two possible values. (Example gender/sex).
Designing a database table. Decide on a name for the database table Determine the different data items that will be stored in the table. Eg. name, address. Decide on a name for each data item (field name). Determine an appropriate data type for each field. Determine an appropriate field size or format for each field. Determine a primary key. Draw a field definition table.
Designing a database table. Design a database table to store the id-number, name, address, telephone number, date of birth, period of membership, form and gender of members of the school library. We will use idnumber as the primary key. Reason – it is a unique number assigned to each student.
Creating a new database file Start MS-Access Click on blank database Enter a name for the new database file Click the create button. Creating the database file is a one time procedure. All objects will be created in the database file.
Creating a new Table Click the Create button On the Create Ribbon, click Table Design. Type the field name and select the data type as shown Select the field size or format as shown. 5 Save the table