6

Are there any sample databases for Oracle like AdventureWorks for MS SQL? I've searched Oracle site but didn't find any sample database.

pranphy
  • 1,787
  • 4
  • 16
  • 22
GTD
  • 315
  • 3
  • 8
  • 17
  • I don't understand why ORACLE has made it so difficult to get sample database. I work on SQL Server. I want script that can be ran as easy as AdventureWorks in MS SQL ,I don't have SQL*Plus.I am using SQL Developer. – hrishi Dec 30 '14 at 05:30

3 Answers3

8

The Oracle database installation includes scripts to install sample schemas. Find out more.

Many online examples use the extremely simple EMP and DEPT tables. These tables are not part of the documented schemas listed above. Finding the script for the beloved SCOTT/TIGER schema is harder than you might think. The demobld.sql used to be under the sqlplus sub-directory. Then in 10g (I think) they moved the schema to $ORACLE_HOME/admin/rdbms/scott.sql. In 11gR2 it's moved again, to $ORACLE_HOME/admin/rdbms/utlsampl.sql.

APC
  • 144,005
  • 19
  • 170
  • 281
5

This question can be of some help(?).

Good Databases with sample data

Community
  • 1
  • 1
Shoban
  • 22,920
  • 8
  • 63
  • 107
0

You can run Oracle Live SQL online without Oracle installed. Menu contains:

  • SQL Worksheet
  • My Session
  • Schema. Includes SCOTT, HR, Order Entry (OE) and others.
  • Quick SQL
  • My Scripts
  • Code Library

Contains a search function, scripts, and tutorials.