GithubHelp home page GithubHelp logo

vintagestep / northwindoracle_ddl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dshifflet/northwindoracle_ddl

0.0 0.0 0.0 143 KB

Create a sample DB in Oracle for Northwind

License: MIT License

northwindoracle_ddl's Introduction

Another_Port_Of_Nortwind_For_Oracle

This is a port of the well known Northwind database to Oracle.

Instructions for windows.

  1. Open CMD and enter the following command:
	set NLS_LANG=.AL32UTF8

This ensures the introduction of regional UTF-8 characters works as intended.

  1. Go to the folder where you downloaded the script:
	cd /path_to_files
	
  1. Run Sqlplus and use either system schema or something analogue.

  2. Run the scripts in order*:

	@Northwind_Create_User_Script.sql;
	
	@Northwind_Build_Data.sql;
	
  1. In case you need to reinstall the db:

    5.a. Remove the user and its contents:

    	DROP USER NORTHWIND CASCADE;
    

    5.b. Repeat step 4 if you're in the same CMD instance, otherwise start from the beginning.

*I set the password for the Northwind user as 'root' but you might want to change it as you desire, just open the script in any text editor, and change the word 'root' for the password of your choice.

Considerations

  • First of all, I'd like to thank https://github.com/dshiffletdshifflet as this is a fork of his script.

  • The reason that led me to make this fork is that the source of the project missed regional characters, but on top of that I added other features like an automated schema/user creation, its own tablespace, and the instructions to do so.

  • Some table names and field names have been changed for the purpose of readability, keep that in mind if you're coming from an original instance of the db.

  • Inserts are quite slow right now, I'd like to refactor them using BULK INSERT in the furure.

northwindoracle_ddl's People

Contributors

vintagestep avatar dshifflet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.