如何判断表中是否有值

if  exists(select * from [order]) and exists(select * from testmodel) and exists(select * from customer) 
print 'yes'
else
print 'no'
原文地址:https://www.cnblogs.com/Benjamin/p/3127360.html