Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting in system table sysprotects
Message
De
30/11/1999 17:33:36
 
 
À
30/11/1999 12:37:27
Christian Bellavance
Université du Québec à Hull
Hull, Québec, Canada
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00295623
Message ID:
00297140
Vues:
27
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform