Tables [dbo].[AdvanceProcessing]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created5:00:23 PM Monday, April 21, 2008
Last Modified3:46:14 PM Tuesday, November 18, 2014
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_AdvanceProcessing: AdvanceProcessingIDAdvanceProcessingIDint4
No
1 - 1
SessionIDvarchar(50)50
No
Foreign Keys FK_AdvanceProcessing_Advance: [dbo].[Advance].AdvanceFIDIndexes IX_AdvanceProcessing_AdvanceFID: AdvanceFIDAdvanceFIDint4
No
GeneratingDatedatetime8
No
Foreign Keys FK_AdvanceProcessing_GeneratingBySysUserFID: [dbo].[Sysuser].GeneratingBySysUserFIDIndexes IX_AdvanceProcessing_GeneratingBySysUserFID: GeneratingBySysUserFIDGeneratingBySysUserFIDint4
No
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_AdvanceProcessing: AdvanceProcessingIDPK_AdvanceProcessingAdvanceProcessingID
Yes
80
IX_AdvanceProcessing_AdvanceFIDAdvanceFID
Yes
80
IX_AdvanceProcessing_GeneratingBySysUserFIDGeneratingBySysUserFID
Foreign Keys Foreign Keys
NameColumns
FK_AdvanceProcessing_AdvanceAdvanceFID->[dbo].[Advance].[PriKey]
FK_AdvanceProcessing_GeneratingBySysUserFIDGeneratingBySysUserFID->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AdvanceProcessing]
(
[AdvanceProcessingID] [int] NOT NULL IDENTITY(1, 1),
[SessionID] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[AdvanceFID] [int] NOT NULL,
[GeneratingDate] [datetime] NOT NULL,
[GeneratingBySysUserFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdvanceProcessing] ADD CONSTRAINT [PK_AdvanceProcessing] PRIMARY KEY CLUSTERED  ([AdvanceProcessingID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_AdvanceProcessing_AdvanceFID] ON [dbo].[AdvanceProcessing] ([AdvanceFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_AdvanceProcessing_GeneratingBySysUserFID] ON [dbo].[AdvanceProcessing] ([GeneratingBySysUserFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdvanceProcessing] ADD CONSTRAINT [FK_AdvanceProcessing_Advance] FOREIGN KEY ([AdvanceFID]) REFERENCES [dbo].[Advance] ([PriKey])
GO
ALTER TABLE [dbo].[AdvanceProcessing] ADD CONSTRAINT [FK_AdvanceProcessing_GeneratingBySysUserFID] FOREIGN KEY ([GeneratingBySysUserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON  [dbo].[AdvanceProcessing] TO [MssExec]
GRANT INSERT ON  [dbo].[AdvanceProcessing] TO [MssExec]
GRANT DELETE ON  [dbo].[AdvanceProcessing] TO [MssExec]
GRANT UPDATE ON  [dbo].[AdvanceProcessing] TO [MssExec]
GO
Uses