Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

sysprotects System Table - SQL Server 2000

RSS
Modified on Fri, May 01, 2009, 11:02 AM by Administrator Categorized as SQL Server System Tables
Contains information about permissions that have been applied to security accounts with the GRANT and DENY statements. This table is stored in each database.

Column nameData typeDescription
idintID of object to which these permissions apply.
uidsmallintID of user or group to which these permissions apply.
actiontinyintCan have one of these permissions: 26  = REFERENCES; 178 = CREATE FUNCTION; 193 = SELECT; 195 = INSERT; 196 = DELETE; 197 = UPDATE; 198 = CREATE TABLE; 203 = CREATE DATABASE; 207 = CREATE VIEW; 222 = CREATE PROCEDURE; 224 = EXECUTE; 228 = BACKUP DATABASE; 233 = CREATE DEFAULT; 235 = BACKUP LOG; 236 = CREATE RULE.
protecttypetinyintCan have these values: 204 = GRANT_W_GRANT; 205 = GRANT; 206 = REVOKE.
columnsvarbinary(4000)Bitmap of columns to which these SELECT or UPDATE permissions apply. Bit 0 indicates all columns; bit 1 means permissions apply to that column and NULL means no information.
grantorsmallintUser ID of the user who issued the GRANT or REVOKE permissions.

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.