+ Reply to Thread
Results 1 to 1 of 1

Thread: Southwind Database for Oracle

  1. #1
    Wolfmaster Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy is a splendid one to behold Wolffy's Avatar
    Join Date
    Mar 2008
    Location
    Peoria, IL
    Posts
    2,386
    Blog Entries
    5
    Real Name
    Wolff
    Rep Power
    15

    Southwind Database for Oracle

    SouthWind Example Database for Oracle

    Many of the example found on the web for ASP.NET use the Northwind example database that is provided with many of the flavors of MS SQL SERVER. That's dandy, if you have MS SQL, but what about Oracle. Most of the examples work practically unchanged in Oracle, so I thought it would be convenient if there was a Northwind equivalent for Oracle.

    Enter Southwind. Southwind is a port of the Northwind example database into Oracle and thus allows the Oracle user the benefits of the zillions of example available on the web. The attached ZIP file contains the necessary scripts to create the Southwind database.

    READ CAREFULLY
    Extract the script to a working direction. They are designed to be run from the SQL*PLUS command line. The main routine SWInst.sql load and executes the remaining scripts to complete the installation.

    NOTE: SWInst.sql does not create the Southwind Schema. The included script CreateUser.sql can be used to setup the Schema ready for installation. There is no real need to keep the Southwind name if you want to change. To create the schema, login as a DBA and execute the script.

    NOTE: The first line in SWInst.sql, DeleteTables.sql, is commented out on purpose. When first installing, it shouldn't be necessary. However, if you need to restart the installation, then uncomment this line. WARNING -- THIS WILL DELETE PRETTY MUCH EVERYTHING IN THE SCHEMA WHERE IT IS RUN -- WARNING. If you happen to be connected as some other user when you execute this -- well, just make sure you have backups.

    To Install:
    Login to Oracle using sqlplus:
    SQLPLUS SouthWind/SouthWind@XE (where XE your oracle home)
    SQL> @SWInst.sql

    That should do it.

    Limitations
    I did not port over the LOB's, such as photos and Notes.
    Attached Files
    Wolffy
    .-- ----- ..-. ..-. -.--
    Opinions expressed are my own and do not necessity reflect those of any sane person. Any code provided is intended to be an example and is provided AS IS. Void where prohibited by law. Not valid in California. Your mileage may vary.

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO