标签:
if exists(select * from test.dbo.test1 where a=‘1‘) begin print(‘exists ‘) end else begin print(‘no exists ‘) end go
sql语句:if exists语句使用
原文地址:http://www.cnblogs.com/tiancai/p/4809753.html