FCLT#83649 bes_srtprod, bes_srtprod_prijs, bes_bedrijf_srtprod en bes_bedrijf_b uitfaseren
svn path=/Database/trunk/; revision=64597
This commit is contained in:
@@ -25,7 +25,6 @@ CREATE SEQUENCE bes_s_bes_favoriet_key MINVALUE 1;
|
||||
CREATE SEQUENCE bes_s_bes_staffeltabel_key MINVALUE 1;
|
||||
CREATE SEQUENCE bes_s_bes_staffel_key MINVALUE 1;
|
||||
|
||||
CREATE SEQUENCE bes_s_bes_grootheid_key MINVALUE 1;
|
||||
CREATE SEQUENCE bes_s_bes_srtdeel_prijs_key MINVALUE 1;
|
||||
|
||||
REGISTERONCE('$Id$')
|
||||
|
||||
@@ -43,20 +43,6 @@ CREATE_TABLE(bes_srtgroep,0)
|
||||
CONSTRAINT bes_u_bes_srtgroep_oms UNIQUE(ins_discipline_key, bes_srtgroep_omschrijving, bes_srtgroep_verwijder)
|
||||
);
|
||||
|
||||
-- Gewicht/volume/aantal van een artikel
|
||||
CREATE_TABLE(bes_grootheid,0)
|
||||
(
|
||||
bes_grootheid_key
|
||||
NUMBER(10)
|
||||
CONSTRAINT bes_k_bes_grootheid_key PRIMARY KEY,
|
||||
/* Naam is b.v. kilogram, liter, aantal (of gram, milliliter, aantal, ...)*/
|
||||
bes_grootheid_naam
|
||||
VARCHAR2(25),
|
||||
bes_grootheid_verwijder
|
||||
DATE
|
||||
DEFAULT NULLDATUM
|
||||
);
|
||||
|
||||
-- Assortiment van producent/fabrikant (genormaliseerde producten)
|
||||
|
||||
CREATE_TABLE(bes_srtdeel,0)
|
||||
|
||||
@@ -600,14 +600,6 @@ BEGIN
|
||||
END;
|
||||
/
|
||||
|
||||
CREATE_TRIGGER(bes_t_bes_grootheid_B_IU)
|
||||
BEFORE INSERT OR UPDATE ON bes_grootheid
|
||||
FOR EACH ROW
|
||||
BEGIN
|
||||
UPDATE_PRIMARY_KEY(bes_grootheid_key, bes_s_bes_grootheid_key);
|
||||
END;
|
||||
/
|
||||
|
||||
CREATE_TRIGGER(bes_t_bes_srtdeel_prijs_B_IU)
|
||||
BEFORE INSERT OR UPDATE ON bes_srtdeel_prijs
|
||||
FOR EACH ROW
|
||||
|
||||
Reference in New Issue
Block a user