if exists(select * from test.dbo.test1 where a='1') begin print('exists ') end else begin print('no exists ') end go
if exists(select * from test.dbo.test1 where a='1') begin print('exists ') end else begin print('no exists ') end go
转载于:https://www.cnblogs.com/tiancai/p/4809753.html