Wednesday, March 7, 2012

Custom Error Message for Check Constraints

Is it possible to make Sql Server throw a custom error message when a
CHECK Constraint fails please?Hi
No. The message and the behavior can not be changed.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"John Smith" <postmaster@.sumanthcp.plus.com> wrote in message
news:1135092443.213942.71180@.f14g2000cwb.googlegroups.com...
> Is it possible to make Sql Server throw a custom error message when a
> CHECK Constraint fails please?
>

No comments:

Post a Comment