03 2022 档案
password failed validation. The password for the user is too recent to change.
摘要:Issue 受制于公司策略,密码必须要有过期时间,但如果时间到了用户就可能会被锁,定时通知修改又很麻烦,所以想使用脚本定时修改为旧密码。但单独使用下面的语句修改sql用户的密码就会报错。 alter login [test] with password=N'1234' old_password=N'
[SQL Server] sql作业代理使用powershell挂载共享盘问题
摘要:issue sql agent使用powershell挂载共享盘不能识别. New-PSDrive -Persist -Name Z -Root \\ip\path 挂载的盘识别不了 solution 第一种 New-PSDrive -Persist -Name Z -Root \\ip\path