摘要:
以下测试用例将演示,使用static的游标和不使用的区别:if object_id(N't_test',N'u') is not nulldrop table t_testgocreate table t_test( cola int primary key, colb char(20))insert into t_test values(1,'a')insert into t_test values(2,'b')insert into t_test values(3,'c')goif exists (SELECT 阅读全文