在SQL Server 2005中修改SA帐号变的简单多了。将SA账号改名可以更好的防止SA账号带来的重重安全隐患
修改数据库SA账号名称的代码如下:
代码如下:
Alter LOGIN sa DISABLE
Alter LOGIN sa WITH NAME = [systemAccount]
"systemAccount" 为SA的新名称,执行完成后刷新一下右侧登录名即可看到修改成功的账号名称。
Statement: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