FSN#36148 mld_typeopdr_srtdiscipline_key inkorten
svn path=/Database/trunk/; revision=29033
This commit is contained in:
@@ -1022,7 +1022,7 @@ CREATE_TABLE(mld_kenmerkopdr, 0)
|
||||
*/
|
||||
CREATE_TABLE(mld_typeopdr_srtdiscipline, 0)
|
||||
(
|
||||
mld_typeopdr_srtdiscipline_key
|
||||
mld_typeopdr_srtdisc_key
|
||||
NUMBER(10)
|
||||
PRIMARY KEY,
|
||||
mld_typeopdr_key
|
||||
|
||||
@@ -88,7 +88,7 @@ CREATE_TRIGGER(mld_t_mld_typeopdr_srtdi_B_IU)
|
||||
BEFORE INSERT OR UPDATE ON mld_typeopdr_srtdiscipline
|
||||
FOR EACH ROW
|
||||
BEGIN
|
||||
UPDATE_PRIMARY_KEY(mld_typeopdr_srtdiscipline_key,mld_s_mld_typeopdr_srtdisc);
|
||||
UPDATE_PRIMARY_KEY(mld_typeopdr_srtdisc_key,mld_s_mld_typeopdr_srtdisc);
|
||||
END;
|
||||
/
|
||||
|
||||
|
||||
@@ -531,6 +531,10 @@ ALTER TABLE bes_bestelling_item ADD
|
||||
CHECK ((bes_bestelling_item_aantal>=0 AND bes_bestelling_item_aantalontv<=bes_bestelling_item_aantal)
|
||||
OR (bes_bestelling_item_aantal<0 AND bes_bestelling_item_aantalontv>=bes_bestelling_item_aantal));
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////// FSN#36148
|
||||
ALTER TABLE mld_typeopdr_srtdiscipline
|
||||
RENAME COLUMN mld_typeopdr_srtdiscipline_key TO mld_typeopdr_srtdisc_key;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user