Quantcast
Channel: Active questions tagged debugging - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 49

SQL Trigger Runs in Debug Mode but Not in Production

$
0
0

I created a SQL Trigger (SQL Server 2012) for "After Update". Very basic taking values from the "deleted" table and inserting some of them to an archiving table. When I debug it in Visual Studio 2019, it works perfectly. However, it doesn't work when being activated (if it even is) on the production app. I have another Trigger on the same database that works just fine and is way more complicated.

I know this isn't a whole lot of info to go on, but any suggestions on troubleshooting this issue would be appreciated?


Viewing all articles
Browse latest Browse all 49

Trending Articles



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