2 Day Developer > Managing Database Objects > Managing Tables > Adding Data to a Table
Adding Data to a Table |
Previous |
Next |
You can add (or insert) a row of data to a table with Object Browser.
To add data to a table:
Log in to the Database Home Page. See "Logging in to the Database Home Page".
On the Database Home Page, click the Object Browser icon.
In the Object list, select Tables then click the personal_info
table that you previously created.
Click Data.
Click the Insert Row button.
On the Create Row page, enter the following values:
142
01-SEP-65
555-11-4444
Married
4
Marilyn Davies
15552229999
marilyn.davies@mycompany.com
Note that when you add the data to the personal_info
table, the values must conform to any constraints on the table. For example, the contact_email
value must be 40 characters or less and the employee_id
value must match a value in the employee_id
column of the employees
table. If data is entered that violates any constraint, then an error displays when you attempt to create a row.
Click the Create and Create Another button to insert the row of data and create another row in the table.
In the Create Row page, enter the following values:
143
01-MAR-72
555-77-4444
Single
1
Carolyn Matos
15553338888
carolyn.matos@myinternet.com
Click the Create button to insert the row of data.