-
I have an MS SQL Server database with a trigger that updates multiple related tables when a record in the Object table is updated. The trigger works perfectly when I execute an UPDATE statement directly in SQL Server Management Studio (SSMS), but when the same update is performed via Budibase, only part of the trigger's logic executes. Specifically, the Object and ResultView tables update as expected, but the final updates to the FactTable do not occur when the update is initiated through Budibase. Trigger code:
Expected Behavior
The trigger should:
Actual Behavior in Budibase:
Questions:
Any insights or suggestions would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
-
I made a Query in budibase that I setup to a button in the UI to test if my SQL trigger activated. Query: The SQL trigger did activate when I pushed the button. My finding: Question that I need answered: Would very much appreciate any and all help/answers in this matter in order to crack the case :) |
Beta Was this translation helpful? Give feedback.
-
I managed to solve this issue. |
Beta Was this translation helpful? Give feedback.
I managed to solve this issue.