摘要:
--1.声明游标提取数据所要存放的变量 declare @OrderId int ,@userId varchar(15) 2.声明游标 declare cur_name cursor scroll for select OrderId ,userId from bigorder where ord 阅读全文
posted @ 2020-07-15 13:25
博客燕
阅读(176)
评论(0)
推荐(0)
摘要:
sp_executesql的运用 书写语法要点: exec sp_executesql @sql,N’参数1 类型1,参数2 类型2,参数3 类型3 OUTPUT’,参数1,参数2,参数3 OUTPUT; 注意参数前后顺序必须对应好 如下图不同颜色的标记 简易测试代码: declare @FSQL 阅读全文
posted @ 2020-07-15 11:39
博客燕
阅读(1539)
评论(0)
推荐(0)

浙公网安备 33010602011771号