上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页
摘要: SqlServer中计算列详解 计算列区别于需要我们手动或者程序给予赋值的列,它的值来源于该表中其它列的计算值。比如,一个表中包含有数量列Number与单价列Price,我们就可以创建计算列金额Amount来表示数量*单价的结果值,创建Amount列后,在程序中需要使用计算金额这个值时,就不用取出N 阅读全文
posted @ 2022-04-15 11:10 vvull 阅读(500) 评论(0) 推荐(0)
摘要: SQL中declare变量的作用域 declare变量的作用域是所在的批处理,if阻断不了它的作用域 阅读全文
posted @ 2022-02-22 17:11 vvull 阅读(102) 评论(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 阅读(232) 评论(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 阅读(92) 评论(0) 推荐(0)
摘要: 请问能否检索所有存储过程中是否存在指定的关键字 select * from sysobjects o ,syscomments s where o.id = s.id and text like '%Key Word%' 阅读全文
posted @ 2021-12-29 17:00 vvull 阅读(59) 评论(0) 推荐(0)
摘要: SQL FORMAT() 函数 阅读全文
posted @ 2021-12-24 16:38 vvull 阅读(58) 评论(0) 推荐(0)
摘要: Windows 下 exe 服务注册到 service 服务中 添加服务 sc create "Service name" binpath="D:\vv_test.exe" start=auto 删除服务 sc delete "Service name" 开启服务 sc start "Service 阅读全文
posted @ 2021-12-13 16:24 vvull 阅读(53) 评论(0) 推荐(0)
摘要: The transaction log for database 'DBName' is full due to 'LOG_BACKUP'. 查看log使用空间 dbcc sqlperf(logspace) 收缩日志 USE[master] ALTER DATABASE 数据库名 SET RECOV 阅读全文
posted @ 2021-11-04 16:09 vvull 阅读(525) 评论(0) 推荐(0)
摘要: 从此不再惧怕URI编码:JavaScript及C# URI编码详解 #encodeURI-->Uri.EscapeUriString 阅读全文
posted @ 2021-10-19 11:40 vvull 阅读(116) 评论(0) 推荐(0)
摘要: 替换SQL字段中的换行符,回车符 select char(9) --Tab select char(10) --换行符 select char(13) --回车键 阅读全文
posted @ 2021-10-14 17:06 vvull 阅读(2943) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页