sqlserver 判断 游标是否存在
2010-03-23 12:56
其中 first_cursor 是 游标名称
if cursor_status('global','first_cursor')=-3 and cursor_status('local','first_cursor')=-3
begin
print '不存在'
end
else
print '存在'
Powered by: 博客园 Copyright © 2024 itcfj Powered by .NET 8.0 on Kubernetes