Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting in system table sysprotects
Message
From
30/11/1999 17:33:36
 
 
To
30/11/1999 12:37:27
Christian Bellavance
Université du Québec à Hull
Hull, Quebec, Canada
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00295623
Message ID:
00297140
Views:
30
The steps should have been

USE master
sp_configure 'allow updates', 1
RECONFIGURE WITH OVERRIDE

CREATE PROCEDURE sp_revoke AS ...

sp_configure 'allow updates', 0
RECONFIGURE WITH OVERRIDE

You should also be logged into the server as a member of the sysadmin fixed server role.

If that doesn't work, you can write a procedure that uses dynamic sql (the EXECUTE) to execute some revoke statements.

-Mike

>Here is the error i get
>
>Server: Msg 270, Level 16, State 1, Procedure SP_REVOKE, Line 45
>Table 'sysprotects' cannot be modified.
>
>thanks
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform