存储过程中if里怎么写select语句

2025-03-01 06:07:43
推荐回答(1个)
回答1:

1
if exists (select 1 from test where xxxxx)
begin
end
2
case when a=xxx then 'xxx' else '0' end