在上篇文章Could not obtain information about Windows NT group/user 'xxxx\xxxx', error code 0x5里面,我介绍了SQL Server服务启动账号域账号锁定的情况下,有些Job Owner为域账号的作业执行会报错,其实在域账号被锁定的情况下(该域账号是SQL Server服务的启动账号),执行xp_cmdshell也会出错,错误信息如下所示: 在执行xp_cmdshell的过程中出错,调用'LogonUserW'失败,…
某日监控报存储过程执行失败,查看返回码为sql668n [db2inst1@limt bin]$ db2 ? sql668n SQL0668N Operation not allowed for reason code "<reason-code>" on table "<table-name>". Explanation: Access to table "<table-name>" is restricte…