I have downloaded and installed the most recent version of Oracle 12c (12.2.0.1.0). As stated on the page https://docs.oracle.com/database/121/COMSC/installation.htm#COMSC00005, I expected to find oe_main.sql in the folder $ORACLE_HOME/demo/schema/order_entry. There is no such folder as you can see in my screenshot. I've only got the human_resources one. Why? Where are the others? Could anyone send them to me via e-mail? I am mostly interested in OE and OC . I have found some scripts on github, but I had serious problems due to many errors.
All the best!
UPDATE
Trying to execute the code perl -p -i.bak -e 's#SUB__CWD#'$(pwd)'#g' *.sql /.sql /.dat , I get the following errors:
Scalar found where operator expected at -e line 1, near "'s#__SUB__CWD__#'$(" (Missing operator before $(?)
Bareword found where operator expected at -e line 1, near "$(pwd"Missing operator before pwd?)
String found where operator expected at -e line 1, near ")'#g'" (Missing operator before '#g'? )
syntax error at -e line 1, near "'s#__SUB__CWD__#'$(" Execution of -e aborted due to compillation errors
Best Answer
That is 12.1 documentation. You have a 12.2 database.
Installing Sample Schemas
You can download the scripts from the above github URL.