Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

Is it possible to trigger an error so that the running stored procedure is stopped?

$
0
0

Hello all,

I want to run an existing stored procedure and then I want to manually trigger an error/abort/interruption so see what happens and do some testing with that.

Is it possible to manually trigger an error/abort/interruption on a running stored procedure so that it is stopped?

If yes, how can I do that?

I hope someone has an idea. For me it sounds not really difficult, but I just do not get the idea how to do it.

Kind regards

Peter



Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>