摘要: (1)运行 C:\WINDOWS\system32>c:\windows\microsoft.net\framework64\v4.0.30319\aspnet_regiis.exe -i 失败,提示 Microsoft (R) ASP.NET RegIIS 版本 4.0.30319.0 用于在本地 阅读全文
posted @ 2018-04-03 14:43 怒涛卷霜雪 阅读(327) 评论(0) 推荐(0)
摘要: 1、引用命名空间: using System.Web.Services;using System.Web.Services.Protocols;using System.Web.Services.Description; 2、添加方法标识 [WebMethod] [SoapRpcMethod(Use 阅读全文
posted @ 2017-08-07 16:48 怒涛卷霜雪 阅读(840) 评论(0) 推荐(0)
摘要: --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 怒涛卷霜雪 阅读(9137) 评论(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 怒涛卷霜雪 阅读(512) 评论(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 怒涛卷霜雪 阅读(986) 评论(0) 推荐(0)