Additional SQL Server features and topics not covered by specific categories
if i pass 2 in @BRIDGID then also it is blocked by the first query where i have passed 1 in @BRIDGID.
Please check if exists any constraints (such as unique constraints or foreign key constraints) on the columns being updated. Ensure that the value being set doesn't violate any constraints.
Best regards,
Cosmog Hong
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".