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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending a warning to the user from SQL server?

Status
Not open for further replies.

garwain

Programmer
Jan 30, 2002
461
CA
I have several triggers in my database used to validate data, and by using the RAISERROR procedure, I can send an error message and abort the procedure in my program at the same time. Is there any way I can send a warning that will give the user a popup, but not halt processing. or rollback the transaction?

thanks.
 
Would something like this help at all?
eg

TRY
startTransaction;
:
TRY
//error occurs in here somewhere
EXCEPT
MessageDlg('warning msg'...)
END;
FINALLY
CommitChanges etc
END;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top