Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to display user defined error messages with sql serv
Message
From
24/02/2000 09:48:29
 
 
To
24/02/2000 04:29:17
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00336637
Message ID:
00336718
Views:
15
If you're using constraints, you cannot change the message the SQL Server generates. If you want to have SQL Server return a customized error message, you'll have to enforce the rule with a trigger and return an error message with the RAISERROR command.

If you want to continue using constraints, you'll have to intercept the error message and translate it into something more user-friendly.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform