Alter table ORDERS to prevent the acceptance of any order that would require the financing of a purchase of less than $1000.00.
EXEC SQL
ALTER TABLE ORDERS
ADD CHECK (GROSS_AMOUNT >= 1000.0 OR PERCENT_DOWN_PMT = 100.0)
CONSTRAINT ORDERS_MIN_AMT_FINANCED
END-EXEC
|
Copyright © 2014 CA.
All rights reserved.
|
|