Create a Playground - The Challenges of Scripting
Now that we have the database running and can connect to it, we need nice sample data to create good demos for more learning to come. Seasoned Oracle developers will remember the SCOTT or HR schemas. Let's use something different. My colleague Friedhold created an Oracle version of the Northwind database. First we need to create a new Oracle schema as a home for our sample data: CREATE USER "NORTHWIND" IDENTIFIED BY "password" ; GRANT CREATE SESSION TO northwind ; GRANT CREATE table TO northwind ; GRANT CREATE SEQUENCE TO northwind ; GRANT CREATE PROCEDURE TO northwind ; GRANT CREATE TRIGGER TO northwind ; ALTER USER northwind QUOTA 200 M ON DATA ; BEGIN ORDS_ADMIN.ENABLE_SCHEMA( p_enabled => TRUE , p_schema => 'northwind' , p_url_mapping_type => 'BASE_PATH' , p_url_mapping_pattern => 'nor...