--SqlServer修改sa的密码:


ALTER LOGIN [sa] WITH PASSWORD = N'NewPassword' OLD_PASSWORD = N'OldPassword'


ALTER LOGIN [sa] WITH PASSWORD = N'NewPassword'--也可以不写旧密码