Ad hoc updates to system catalogs are not allowed

邮差的信 提交于 2019-12-04 04:42:14

问题


So I'm trying to manually update hash for one user. I tried updating view, as tables are not visible.

I tried starting in single user mode, changing "sp_configure 'Allow updates',1", and so on, with no luck.

Is there any way. I don't know passwords, just hashes, as updating from 2000 SP4 to 2008 R2 failed, and I need to have credentials on 2008 R2, just like on old 2000.


回答1:


The sp_Configure 'Allow Updates' setting has had no effect since SQL Server 2005, it will still "work" but it won't do anything.

I believe that if you really must make these changes, you can do so by connecting through the DAC (Dedicated Administrator Connection) while the instance is in single user mode, but be careful what you change :)

How to: Use the Dedicated Administrator Connection with SQL Server Management Studio




回答2:


If you're running SQL Server 2000 or earlier you can run:

RECONFIGURE WITH OVERRIDE


来源:https://stackoverflow.com/questions/15329764/ad-hoc-updates-to-system-catalogs-are-not-allowed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!