Tables [dbo].[Users]
Properties
PropertyValue
CollationLatin1_General_CI_AS_KS_WS
Row Count4
Created12:33:31 PM Tuesday, March 06, 2007
Last Modified12:33:31 PM Tuesday, March 06, 2007
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Primary Key PK_Users: UserIDUserIDuniqueidentifier16
No
Cluster Key IX_Users: Sid\UserName\AuthTypeSidvarbinary(85)85
Yes
UserTypeint4
No
Cluster Key IX_Users: Sid\UserName\AuthTypeAuthTypeint4
No
Cluster Key IX_Users: Sid\UserName\AuthTypeUserNamenvarchar(260)520
Yes
Indexes Indexes
NameColumnsUnique
Primary Key PK_Users: UserIDPK_UsersUserID
Yes
Cluster Key IX_Users: Sid\UserName\AuthTypeIX_UsersSid, UserName, AuthType
Yes
Permissions
TypeActionOwning Principal
GrantDeleteRSExecRole
GrantInsertRSExecRole
GrantReferencesRSExecRole
GrantSelectRSExecRole
GrantUpdateRSExecRole
SQL Script
CREATE TABLE [dbo].[Users]
(
[UserID] [uniqueidentifier] NOT NULL,
[Sid] [varbinary] (85) NULL,
[UserType] [int] NOT NULL,
[AuthType] [int] NOT NULL,
[UserName] [nvarchar] (260) COLLATE Latin1_General_CI_AS_KS_WS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Users] ADD CONSTRAINT [PK_Users] PRIMARY KEY NONCLUSTERED ([UserID]) ON [PRIMARY]
GO
CREATE UNIQUE CLUSTERED INDEX [IX_Users] ON [dbo].[Users] ([Sid], [UserName], [AuthType]) ON [PRIMARY]
GO
GRANT REFERENCES ON  [dbo].[Users] TO [RSExecRole]
GRANT SELECT ON  [dbo].[Users] TO [RSExecRole]
GRANT INSERT ON  [dbo].[Users] TO [RSExecRole]
GRANT DELETE ON  [dbo].[Users] TO [RSExecRole]
GRANT UPDATE ON  [dbo].[Users] TO [RSExecRole]
GO
Uses
Used By