Steps for creating a database in BASE.

Q3. Write down all the steps for creating a database in BASE.

Ans. You can perform the following steps to create a database in BASE:

  1. Select the Create a new database radio button from Database Wizard.
  2. Click the Next button to move to the next step

The Decide how to proceed after saving the database page appears.

  1. Select the Yes, register the database for me radio button to register your database in OpenOffice.
  2. Select the Open the database for editing check box to open the database for editing after creating it.
  3. Select the Create tables using the Table Wizard check box to create a table.
  4. Click the Finish button to save the database, as shown in

 

 

The Save dialog box appears.

  1. Type the desired name for the database in the Name textbox. In our case, we have typed Stud_Database.
  2. Select the location to save the database in the Save in folder list box. In our case, we have selected /home/DT/Documents .
  3. Click the Save button to save the database

The Select fields for your table page appears.

 

Perform the following steps to create a table in your database:

  1. Select the Business radio button to select the category of your table.
  2. Click the up and down arrow button of the Sample table’s list box. A drop-down list of table types appears.
  3. Select the desired table type from the list. In our case, we have selected Employees. The list of fields related to the Employees type table appears in the Available field’s list box.
  4. Select the desired field for the Available field’s list box.
  5. Click the forward arrow button to add the field in the table .

Similarly, you can add more fields in a table by following steps 13 and 14.

  1. Click the Next button to move to the next step.

 

The Set field types and formats page appears. This dialog box enables you to change the selected field properties.

  1. Click the Next button, if you want to go with the default settings of selected fields.

 

The Set primary key page appears.

  1. Select the Create a primary key check box to create a primary key for a table.
  2. Select the Define primary key as a combination of several fields radio button.
  3. Select the field that you want to set as a primary key from the Available field’s list box. In our case, we have selected MobileNumber.
  4. Click the arrow button to add the selected table as a primary key.
  5. Click the Next button to move to the next step, as shown in

 

The Create table page appears .

  1. Type the desired table name for your table in the What do you want to name your table? text box. In our case, we have typed Faculty.
  2. Select the Insert data immediately radio box.
  3. Click the Finish button to finish the steps of creating a table

The BASE window appears with the name of the newly created database (that is, Stud_Datbase.odb). You can view the table you created for the database in the window.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

5 Views
%d bloggers like this: