Tables [dbo].[MobileAccess]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created8:24:49 AM Friday, December 7, 2018
Last Modified8:34:30 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_MobileAccess: MobileAccessIDMobileAccessIDint4
No
1 - 1
Foreign Keys FK_MobileAccess_MobileUserType: [dbo].[MobileUserType].MobileUserTypeFIDMobileUserTypeFIDint4
No
Foreign Keys FK_MobileAccess_SysUser: [dbo].[Sysuser].SysUserFIDIndexes IX_MobileAccess_SysUserFID: SysUserFIDSysUserFIDint4
No
Indexes IX_MobileAccess_UserID: UserIDUserIDvarchar(30)30
No
Passwordvarbinary(255)255
No
MoversSuiteSyncDatedatetime8
Yes
MoversConnectMobileUserFIDint4
Yes
Foreign Keys FK_MobileAccess_CellServiceProvider: [dbo].[CellServiceProvider].CellServiceProviderFIDCellServiceProviderFIDint4
Yes
AllowMobilePasswordResetbit1
No
((0))
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_MobileAccess: MobileAccessIDPK_MobileAccessMobileAccessID
Yes
IX_MobileAccess_SysUserFIDSysUserFID
Yes
IX_MobileAccess_UserIDUserID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_MobileAccess_CellServiceProviderCellServiceProviderFID->[dbo].[CellServiceProvider].[CellServiceProviderID]
FK_MobileAccess_MobileUserTypeMobileUserTypeFID->[dbo].[MobileUserType].[MobileUserTypeID]
FK_MobileAccess_SysUserSysUserFID->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[MobileAccess]
(
[MobileAccessID] [int] NOT NULL IDENTITY(1, 1),
[MobileUserTypeFID] [int] NOT NULL,
[SysUserFID] [int] NOT NULL,
[UserID] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Password] [varbinary] (255) NOT NULL,
[MoversSuiteSyncDate] [datetime] NULL,
[MoversConnectMobileUserFID] [int] NULL,
[CellServiceProviderFID] [int] NULL,
[AllowMobilePasswordReset] [bit] NOT NULL CONSTRAINT [DF_MobileAccess_AllowMobilePasswordReset] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MobileAccess] ADD CONSTRAINT [PK_MobileAccess] PRIMARY KEY CLUSTERED  ([MobileAccessID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MobileAccess] ADD CONSTRAINT [IX_MobileAccess_SysUserFID] UNIQUE NONCLUSTERED  ([SysUserFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MobileAccess] ADD CONSTRAINT [IX_MobileAccess_UserID] UNIQUE NONCLUSTERED  ([UserID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[MobileAccess] ADD CONSTRAINT [FK_MobileAccess_CellServiceProvider] FOREIGN KEY ([CellServiceProviderFID]) REFERENCES [dbo].[CellServiceProvider] ([CellServiceProviderID])
GO
ALTER TABLE [dbo].[MobileAccess] ADD CONSTRAINT [FK_MobileAccess_MobileUserType] FOREIGN KEY ([MobileUserTypeFID]) REFERENCES [dbo].[MobileUserType] ([MobileUserTypeID])
GO
ALTER TABLE [dbo].[MobileAccess] ADD CONSTRAINT [FK_MobileAccess_SysUser] FOREIGN KEY ([SysUserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON  [dbo].[MobileAccess] TO [MssExec]
GRANT INSERT ON  [dbo].[MobileAccess] TO [MssExec]
GRANT DELETE ON  [dbo].[MobileAccess] TO [MssExec]
GRANT UPDATE ON  [dbo].[MobileAccess] TO [MssExec]
GO
Uses
Used By