CHECK Constraint[
^]
EDIT
------------------------
Before update, check the calculation produces the negative value or not. If negative, raise exception else do update. Sample below.
Here we're checking the StockQty before update
SET @StockQty = SELECT StockQty FROM TblStock WHERE ItemID = 'SomeItemID';
IF @StockQty < @RequiredQty
BEGIN
PRINT 'Stock Qty is less than Required Qty'
END
ELSE
BEGIN
UPDATE TblStock SET StockQty=StockQty-@RequiredQty WHERE ItemID = 'SomeItemID';
END
By the above same logic, you could do this in front end.