Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Instead of delete trigger - do nothing

$
0
0

Stupid question time - I want to set up an instead of delete trigger on a table to basically cancel any deletion attempt. 

Can I just use the below or do I need to add something else?

SQL
CREATETRIGGER[dbo].[262_DEL-CustomerReturnLine]ON[dbo].[CustomerReturnLine]INSTEADOFDELETEAS


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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