安装VS2005时选择SQL2005一并安装;
到microsoft官方免费下载SQL2005管理工具Microsoft SQL Server Management Studio Express Service Pack 2
http://www.microsoft.com/downloads/details.aspx?familyid=6053C6F8-82C8-479C-B25B-9ACA13141C9E&displaylang=zh-cn;
安装Microsoft SQL Server Management Studio Express Service Pack 2;
打开Microsoft SQL Server Management Studio Express,用window认证登陆sql server;
新建查询,输入:
exec sp_password null,'你的密码',sa
alter login sa enable
在你的服务器(也就是根节点)上右键-属性,选择安全性,把服务器身份验证改为SQL Server 和 Windows 身份验证模式;
通过SQL SERVER或者服务管理将SQLEXPRESS重新启动下,就可以用sa登陆了
发现SQL SERVER 2005友好多了。
本文介绍如何在安装Visual Studio 2005时同时安装SQL Server 2005,并提供了配置SQL Server Management Studio Express Service Pack 2的方法,包括设置SQL Server和Windows身份验证模式及重启服务。
1万+

被折叠的 条评论
为什么被折叠?



