Tables [dbo].[InvoiceLock]
Properties
PropertyValue
Row Count (~)0
Created10:06:09 AM Friday, December 7, 2018
Last Modified10:06:28 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_InvoiceLock: OrderFidOrderFidint4
No
Foreign Keys FK_InvoiceLock_SysUser: [dbo].[Sysuser].CreatedBySysUserFidCreatedBySysUserFidint4
No
CreatedOndatetime8
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_InvoiceLock: OrderFidPK_InvoiceLockOrderFid
Yes
Foreign Keys Foreign Keys
NameColumns
FK_InvoiceLock_SysUserCreatedBySysUserFid->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[InvoiceLock]
(
[OrderFid] [int] NOT NULL,
[CreatedBySysUserFid] [int] NOT NULL,
[CreatedOn] [datetime] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InvoiceLock] ADD CONSTRAINT [PK_InvoiceLock] PRIMARY KEY CLUSTERED  ([OrderFid]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InvoiceLock] ADD CONSTRAINT [FK_InvoiceLock_SysUser] FOREIGN KEY ([CreatedBySysUserFid]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON  [dbo].[InvoiceLock] TO [MssExec]
GRANT INSERT ON  [dbo].[InvoiceLock] TO [MssExec]
GRANT DELETE ON  [dbo].[InvoiceLock] TO [MssExec]
GRANT UPDATE ON  [dbo].[InvoiceLock] TO [MssExec]
GO
Uses
Used By