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

2025年03月01日 06:07
有1个网友回答
网友(1):

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