Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Return error message from a trigger 1

Status
Not open for further replies.

aimlion11yahoo

Instructor
Jul 20, 2006
42
US
Newbie question here. I would like to have a trigger check the data being entered into a column, and if it is invalid, have the trigger return an error message. Can't seem to find an example of this. Can someone point me to one?

Thanks.
 
See RAISERROR() in BOL

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top