Code Monkey home page Code Monkey logo

oracleishard's Introduction

Quelques explications s'imposent ...

Création des variables d'environnement

Les variables ORACLE_SID et ORACLE_HOME sont à préciser (IMPORTANT) :

ORACLE_SID="SYL"
ORACLE_INSTALL="C:\Opt\oraclexe"
ORACLE_DATA="%ORACLE_INSTALL%\app\oracle\oradata"
ORACLE_HOME="%ORACLE_INSTALL%\app\oracle\product\11.2.0\server"

Création nécessaire des dossiers suivants ... (oracle) ...

mkdir "%ORACLE_INSTALL%\logs\%ORACLE_SID%"
mkdir "%ORACLE_DATA%\%ORACLE_SID%"
mkdir "%ORACLE_INSTALL%\app\oracle\admin\%ORACLE_SID%\adump"

Positionnement du contenu de l'archive

Le dossier SYL/ et le fichier initSYL.ora, doivent être mis dans le dossier suivant : %ORACLE_HOME%\database

Installation de la base de données

sqlplus /nolog
> connect SYS AS SYSDBA
**password**
> STARTUP NOMOUNT
> @?/database/SYL/create_db
> create spfile from pfile
> @?/database/SYL/create_tbs
> @?/database/SYL/create_user
> @?/database/SYL/create_procedures
> EXIT

Ajouter les fonctionnalités utiles

sqlplus /nolog
> connect SYS AS SYSDBA
**password**
> @?\rdbms\admin\catalog.sql
> @?\rdbms\admin\catproc.sql
> @?\rdbms\admin\utlrp.sql
> @?\sqlplus\admin\pupbld.sql
> EXIT

Monte la base de données

Je ne me souviens plus exactement, mais je sais que j'ai dû relancer la base de données avec la commande : STARTUP OPEN

Lancer le programme

Dans la console, aller dans le dossier où se trouve le fichier run.cmd (normalement : SYL/ui).

run

Contenu de l'archive du projet

  • SYL/
    • pkg/
      • client.sql
      • compte.sql
      • utilisateur.sql
    • tables/
      • clients.sql
      • comptes.sql
      • roles.sql
      • utilisateurs.sql
    • ui/
      • clients/
        • creer.sql
        • lister.sql
        • modifier.sql
        • supprimer.sql
      • comptes/
        • consulter.sql
        • creer.sql
        • lister_par_client.sql
        • supprimer.sql
        • virer.sql
      • utilisateurs/
        • connecter.sql
        • creer.sql
        • lister.sql
        • supprimer.sql
    • add_features.sql **3**
    • create_db.sql **1**
    • create_procedures.sql **6**
    • create_tables.sql **5**
    • create_tbs.sql **2**
    • create_user.sql **4**
    • drop_tables.sql
    • run.cmd **7**
  • initSYL.ora
  • LISEZMOI.md

oracleishard's People

Contributors

sylann avatar

Watchers

 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.