Add verification steps after data load

Signed-off-by: Gerald Venzl <gerald.venzl@gmail.com>
This commit is contained in:
Gerald Venzl 2020-03-10 21:21:15 -07:00
parent ea7124de77
commit 2eb35d6cd0

View File

@ -23,6 +23,39 @@ Connect as the `SAKILA` user and run:
SQL> @oracle-sakila-insert-data.sql
```
Once the script is completed, run the following verification:
```sql
SQL> SELECT table_name FROM user_tables;
TABLE_NAME
--------------
ACTOR
COUNTRY
CITY
ADDRESS
LANGUAGE
CATEGORY
CUSTOMER
FILM
FILM_ACTOR
FILM_CATEGORY
FILM_TEXT
INVENTORY
STAFF
STORE
PAYMENT
RENTAL
16 rows selected.
SQL> SELECT COUNT(*) FROM film;
COUNT(*)
----------
1000
```
## Delete data
Connect as the `SAKILA` user and run: