两种方法1.用 for update
2.加判断 if not exists(select * from inserted) or not exists(select * from deleted return
Powered by: 博客园 Copyright © 2024 Guxx Powered by .NET 9.0 on Kubernetes