G
Guest
I am building an asp.net website which uses a SQL Server database. I want to
do data validation in the stored procedures and triggers, and raise SQL
Server errors there when a user enters invalid data. The message that is
displayed to the user (like "ABC is an invalid Product Code") should be
written in the stored procedure or trigger and then bubbled up to the client
app.
Does anyone have any advice on best practices or able to direct me to some
link / article that can help ?
Thanks, Craig
do data validation in the stored procedures and triggers, and raise SQL
Server errors there when a user enters invalid data. The message that is
displayed to the user (like "ABC is an invalid Product Code") should be
written in the stored procedure or trigger and then bubbled up to the client
app.
Does anyone have any advice on best practices or able to direct me to some
link / article that can help ?
Thanks, Craig