Home > Database > Mysql Tutorial > SQL Server 2005中更改sa的用户名的方法

SQL Server 2005中更改sa的用户名的方法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 18:06:31
Original
1657 people have browsed it

在SQL Server 2005中修改SA帐号变的简单多了。将SA账号改名可以更好的防止SA账号带来的重重安全隐患

修改数据库SA账号名称的代码如下:

代码如下:
Alter LOGIN sa DISABLE
Alter LOGIN sa WITH NAME = [systemAccount]

"systemAccount" 为SA的新名称,执行完成后刷新一下右侧登录名即可看到修改成功的账号名称。
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template