Site icon Database Tutorials

Ad hoc update to system catalogs is not supported

 

ERROR MESAGGE:

“Ad hoc update to system catalogs is not supported.”

EXPLANATION:

If the “allow updates” option in SQL Server Instance is enabled, you receive this error when you run the following sample code.

SOLUTION:

If you want to leave ‘allow updates’ enabled, then type the code as follows:

 

If you disable the ‘allow updates’ option using the sp_configure Stored Procedure, you can run the first code without error:

Exit mobile version