DeveloperBarn Forums

Go Back   DeveloperBarn Forums > Databases > Oracle Help

Discuss "Southwind Database for Oracle" in the Oracle Help forum.

Oracle Help - Oracle is a powerful relational database management system (DBMS). Discuss Oracle administration and other Oracle related topics here.


Reply « Previous Thread | Next Thread »  
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old June 10th, 2008, 01:39 PM
Wolffy's Avatar
Slaprentice of Wolves


 
Join Date: Mar 2008
Location: Peoria, IL
Posts: 149
Thanks: 1
Thanked 23 Times in 20 Posts
Rep Power: 1
Wolffy is on a distinguished road

Awards Showcase
Microsoft .Net 
Total Awards: 1

Default 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.

Comments on this post
jmurrayhead agrees: Nice example
lewy agrees:
Attached Files
File Type: zip Southwind.zip (68.9 KB, 13 views)
__________________
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. Rework for your specific environment may be required. Void where prohibited by law. Not valid in California. Your mileage may vary.
Reply With Quote
Sponsored Links
Reply

  DeveloperBarn Forums > Databases > Oracle Help

Bookmarks

Tags
northwind, oracle

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Sponsored Links

ASP.NET Resource Index
a directory of ASP.NET tutorials, applications, scripts, assemblies and articles for the novice to professional developer.

Free Web Directory
Including Chats and Forums Resources, Offer automatic, instant and free directory submissions.
URLZ Web Directory
URLZ Web Directory

Free Web Directory - Add Your Link
The Little Web Directory
Free Web Directory
Pegasus free web directory is a free directory organised by categories.

Web Directory & SEO Services
dirroot web directory


All times are GMT -4. The time now is 09:17 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 2008 DeveloperBarn.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46