Tables [dbo].[AdvanceVoidInformation]
Properties
PropertyValue
HeapYes
Row Count (~)51
Created5:00:23 PM Monday, April 21, 2008
Last Modified3:46:14 PM Tuesday, November 18, 2014
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_AdvanceVoidInformation: AdvanceVoidInformationIDAdvanceVoidInformationIDint4
No
1 - 1
Foreign Keys FK_AdvanceVoidInformation_Advance: [dbo].[Advance].AdvanceFIDIndexes IX_AdvanceVoidInformation_AdvanceFID: AdvanceFIDAdvanceFIDint4
No
VoidedDatedatetime8
No
Foreign Keys FK_AdvanceVoidInformation_VoidedBySysUserFID: [dbo].[Sysuser].VoidedBySysUserFIDIndexes IX_AdvanceVoidInformation_VoidedBySysUserFID: VoidedBySysUserFIDVoidedBySysUserFIDint4
No
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_AdvanceVoidInformation: AdvanceVoidInformationIDPK_AdvanceVoidInformationAdvanceVoidInformationID
Yes
80
IX_AdvanceVoidInformation_AdvanceFIDAdvanceFID
Yes
80
IX_AdvanceVoidInformation_VoidedBySysUserFIDVoidedBySysUserFID
Foreign Keys Foreign Keys
NameColumns
FK_AdvanceVoidInformation_AdvanceAdvanceFID->[dbo].[Advance].[PriKey]
FK_AdvanceVoidInformation_VoidedBySysUserFIDVoidedBySysUserFID->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AdvanceVoidInformation]
(
[AdvanceVoidInformationID] [int] NOT NULL IDENTITY(1, 1),
[AdvanceFID] [int] NOT NULL,
[VoidedDate] [datetime] NOT NULL,
[VoidedBySysUserFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdvanceVoidInformation] ADD CONSTRAINT [PK_AdvanceVoidInformation] PRIMARY KEY NONCLUSTERED  ([AdvanceVoidInformationID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_AdvanceVoidInformation_AdvanceFID] ON [dbo].[AdvanceVoidInformation] ([AdvanceFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_AdvanceVoidInformation_VoidedBySysUserFID] ON [dbo].[AdvanceVoidInformation] ([VoidedBySysUserFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdvanceVoidInformation] ADD CONSTRAINT [FK_AdvanceVoidInformation_Advance] FOREIGN KEY ([AdvanceFID]) REFERENCES [dbo].[Advance] ([PriKey])
GO
ALTER TABLE [dbo].[AdvanceVoidInformation] ADD CONSTRAINT [FK_AdvanceVoidInformation_VoidedBySysUserFID] FOREIGN KEY ([VoidedBySysUserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON  [dbo].[AdvanceVoidInformation] TO [MssExec]
GRANT INSERT ON  [dbo].[AdvanceVoidInformation] TO [MssExec]
GRANT DELETE ON  [dbo].[AdvanceVoidInformation] TO [MssExec]
GRANT UPDATE ON  [dbo].[AdvanceVoidInformation] TO [MssExec]
GO
Uses