07 2017 档案

摘要:--BASE64编码CREATE FUNCTION [dbo].[FnBase64Encode](@src varchar(max)) RETURNS VARCHAR(max)as begin declare @bin varbinary(max) set @bin=Convert(varbinar 阅读全文
posted @ 2017-07-26 08:24 怒涛卷霜雪 阅读(9139) 评论(0) 推荐(1)
摘要:backup log [dbName] with no_log go dump transaction [dbName] with no_log go use dbName DBCC SHRINKFILE (2)go 阅读全文
posted @ 2017-07-19 12:46 怒涛卷霜雪 阅读(297) 评论(0) 推荐(0)
摘要:select * from [TableName] with(nolock) (1)查询是不锁定表,可提高查询速度; (2)产生某些不利的影响:A.脏读 B.不可重复读 C.幻读; 阅读全文
posted @ 2017-07-18 15:16 怒涛卷霜雪 阅读(513) 评论(0) 推荐(0)
摘要:修改注册表: (1)32位路径:HKLM\Software\Microsoft\Microsoft SQL Server\90\Tools\ShellSEM,把ShellSEM重命名即可。 (2)64位路径:HKLM\Software\Wow6432Node\Microsoft\Microsoft 阅读全文
posted @ 2017-07-18 10:42 怒涛卷霜雪 阅读(440) 评论(0) 推荐(0)
摘要:安装SQL Server 2008时,经常会遇到这样一个问题,软件提示“重启计算机失败”,如果忽略的话,会给后面的安装带来很大的麻烦,这里如何解决呢? (1)执行“regedit”,打开注册表管理界面; (2)在注册表左侧目录栏中找到如下位置:“HKEY_LOCAL_MACHINE\SYSTEM\C 阅读全文
posted @ 2017-07-18 10:39 怒涛卷霜雪 阅读(990) 评论(0) 推荐(0)