check constraint to check if date greater than todays date
snippet in sql

check constraint to check if date greater than todays date

user6928

 ALTER TABLE donation ADD CONSTRAINT 
 chk_date CHECK (ddate >= CURRENT_DATE);