if exists(select * from [表] where username=@UserName --具体值替换) update... else insert...
case when 字段名 is not null then 不为空的操作 default 为空的操作
34,591
社区成员
254,589
社区内容
加载中
试试用AI创作助手写篇文章吧