I would like to know whether we can call a stored function in a constraint of a table ? Thank you
I would like to know whether we can call a stored function in a constraint of a table ? Thank you
Yes. For example:
ALTER TABLE emp ADD CONSTRAINT caseCheckConstraint CHECK ( UPPER(ename)=ename )
Uses the UPPER function in a check constraint.
No one has followed this question yet.