存储过程建立临时表,通过游标增加数据
摘要:if exists(select * from sysobjects where name='pro_table')drop proc pro_table --判断存储过程是否存在,如存在则删除gocreate proc pro_table ---创建存储过程@sid intasbegindeclare @sql nvarchar(200)if(object_id('temptable') is ...
阅读全文
posted @
2009-12-11 17:16
〤‵坠落者...
阅读(563)
推荐(0) 编辑