Tables [dbo].[SysuserProfilePic]
Properties
PropertyValue
HeapYes
Row Count (~)0
Created8:24:49 AM Friday, December 7, 2018
Last Modified8:51:20 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_SysuserProfilePic: SysuserProfilePicIDSysuserProfilePicIDint4
No
1 - 1
Foreign Keys FK_SysuserProfilePic_Sysuser: [dbo].[Sysuser].SysuserFIDIndexes IX_SysuserProfilePic_Sysuser: SysuserFIDSysuserFIDint4
No
Picturevarbinary(max)max
No
MoversConnectMobileUserPicFIDint4
Yes
MoversSuiteSyncDatedatetime8
Yes
DateModifieddatetime8
Yes
Indexes Indexes
NameColumnsUnique
Primary Key PK_SysuserProfilePic: SysuserProfilePicIDPK_SysuserProfilePicSysuserProfilePicID
Yes
IX_SysuserProfilePic_SysuserSysuserFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_SysuserProfilePic_SysuserSysuserFID->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[SysuserProfilePic]
(
[SysuserProfilePicID] [int] NOT NULL IDENTITY(1, 1),
[SysuserFID] [int] NOT NULL,
[Picture] [varbinary] (max) NOT NULL,
[MoversConnectMobileUserPicFID] [int] NULL,
[MoversSuiteSyncDate] [datetime] NULL,
[DateModified] [datetime] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[SysuserProfilePic] ADD CONSTRAINT [PK_SysuserProfilePic] PRIMARY KEY NONCLUSTERED  ([SysuserProfilePicID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SysuserProfilePic] ADD CONSTRAINT [IX_SysuserProfilePic_Sysuser] UNIQUE NONCLUSTERED  ([SysuserFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SysuserProfilePic] ADD CONSTRAINT [FK_SysuserProfilePic_Sysuser] FOREIGN KEY ([SysuserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON  [dbo].[SysuserProfilePic] TO [MssExec]
GRANT INSERT ON  [dbo].[SysuserProfilePic] TO [MssExec]
GRANT DELETE ON  [dbo].[SysuserProfilePic] TO [MssExec]
GRANT UPDATE ON  [dbo].[SysuserProfilePic] TO [MssExec]
GO
Uses