Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

check constraint to check if date greater than todays date

 ALTER TABLE donation ADD CONSTRAINT 
 chk_date CHECK (ddate >= CURRENT_DATE);
 
PREVIOUS NEXT
Tagged: #check #constraint #check #date #greater #todays #date
ADD COMMENT
Topic
Name
3+6 =