Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

My trigger doesn't seem to be saving after I modify it

$
0
0

So I had a trigger that I needed to modify (extensively). It now does 1 thing instead of 10 things.

I hit the EXECUTE button and it gives me the following error:

Msg 2714, Level 16, State 2, Procedure FilePathTrigger, Line 7
There is already an object named 'FilePathTrigger' in the database.

So I thought maybe if I clicked the "Parse" button it would save... but when I tested it by insterting a new record in the table where this trigger belongs, it's still executing the old code from the Trigger I initially created.

-Nothing to see. Move along.


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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