Git Product home page Git Product logo

pingpongproject's Introduction

PingPongProject

You need to put ojdbc7.jar file in the directory(C:\Program Files\Java\jre1.8.0_144\lib\ext) to start this project

You need to put some data in a Locker table and Bootrack table for making certain views.

In the Locker table, 1 to 120 tuples has a each locker_code in numerical order.

In the Bootrack table, 1 to 36 tuples has a each bootrack_code in numerical order.

You need to put these triggers

create or replace TRIGGER bootrackDeletionForMemb BEFORE DELETE ON member FOR EACH ROW BEGIN UPDATE bootrack b SET b.BOOTRACK_STATUS = 0, b.MEMBER_CODE = null WHERE b.member_code = :OLD.member_code; END;

create or replace TRIGGER coachDeletionForMemb BEFORE DELETE ON member FOR EACH ROW BEGIN DELETE FROM coach c WHERE c.member_code = :OLD.member_code; END;

create or replace TRIGGER feeDeletion BEFORE DELETE ON monthmember FOR EACH ROW BEGIN DELETE FROM fee f WHERE f.fee_code = :OLD.fee_code; END;

create or replace TRIGGER lockerDeletionForMemb BEFORE DELETE ON member FOR EACH ROW BEGIN UPDATE locker l SET l.LOCKER_PURPOSE = 2, l.MEMBER_CODE = null WHERE l.member_code = :OLD.member_code; END;

create or replace TRIGGER monthMembDeletionForMemb BEFORE DELETE ON member FOR EACH ROW BEGIN DELETE FROM monthmember mo WHERE mo.member_code = :OLD.member_code; END;

pingpongproject's People

Contributors

jsw2060 avatar

Watchers

James Cloos avatar  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.