02 2022 档案

摘要:SQL中declare变量的作用域 declare变量的作用域是所在的批处理,if阻断不了它的作用域 阅读全文 »
posted @ 2022-02-22 17:11 vvull 阅读(85) 评论(0) 推荐(0) 编辑
摘要:SQL SERVER 查看所有存储过程或视图里包含某个关键字的查询语句 select [name] ,[xtype] from sysobjects o ,syscomments s where o.id = s.id and text LIKE '关键字' order by name asc 阅读全文 »
posted @ 2022-02-14 10:53 vvull 阅读(220) 评论(0) 推荐(0) 编辑
摘要:sp_executesql的用法 sp_executesql介绍和使用 示例 create proc [dbo].[usp_Test] @StartTime datetime ,@EndTime datetime ,@TestOutput int output as begin --定义动态SQL和 阅读全文 »
posted @ 2022-02-10 15:37 vvull 阅读(84) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示