Transact sql trigger work when doing a merge in ssms but doesn't when doing the same merge in Python
Hello, I made a trigger in sql server to put data in another table on insert or update. It works when I do a merge in a ssms query but when I do the same query in python it doesn't work. I used Microsoft server profiler to see what was Happening but I couldn't see any error and the trigger was triggered by the merge. Is there a reason why it works in ssms but not in python? When I disable the trigger my merge works in python so it is a problem with the trigger but I cannot see the trace when I execute a query with python, is there a way I can see it?
Thanks
Posted Dec 14, 2021, 10:29 PM UTC
10
[deleted]