Tables [dbo].[VanLineStatements]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)23497
Created4:57:09 PM Thursday, September 7, 2006
Last Modified1:53:17 PM Wednesday, April 10, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_VanLineStatements: PriKeyPriKeyint4
No
1 - 1
Indexes IX_VanLineStatements_SDPriKey: SDPriKeySDPriKeyint4
No
ServiceCodevarchar(10)10
Yes
Descriptionvarchar(64)64
Yes
Amountmoney8
Yes
Foreign Keys FK_VanLineStatements_ServiceCodeFID: [dbo].[ServiceCode].AccountingServiceCodeFIDIndexes IX_VanLineStatements_AccountingServiceCodeFID: AccountingServiceCodeFIDAccountingServiceCodeFIDint4
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_VanLineStatements: PriKeyPK_VanLineStatementsPriKey
Yes
80
IX_VanLineStatements_AccountingServiceCodeFIDAccountingServiceCodeFID
IX_VanLineStatements_SDPriKeySDPriKey80
Foreign Keys Foreign Keys
NameColumns
FK_VanLineStatements_ServiceCodeFIDAccountingServiceCodeFID->[dbo].[ServiceCode].[ServiceCodePriKey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[VanLineStatements]
(
[PriKey] [int] NOT NULL IDENTITY(1, 1),
[SDPriKey] [int] NOT NULL,
[ServiceCode] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Description] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Amount] [money] NULL,
[AccountingServiceCodeFID] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[VanLineStatements] ADD CONSTRAINT [PK_VanLineStatements] PRIMARY KEY CLUSTERED  ([PriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_VanLineStatements_AccountingServiceCodeFID] ON [dbo].[VanLineStatements] ([AccountingServiceCodeFID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_VanLineStatements_SDPriKey] ON [dbo].[VanLineStatements] ([SDPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[VanLineStatements] ADD CONSTRAINT [FK_VanLineStatements_ServiceCodeFID] FOREIGN KEY ([AccountingServiceCodeFID]) REFERENCES [dbo].[ServiceCode] ([ServiceCodePriKey])
GO
GRANT SELECT ON  [dbo].[VanLineStatements] TO [MssExec]
GRANT INSERT ON  [dbo].[VanLineStatements] TO [MssExec]
GRANT DELETE ON  [dbo].[VanLineStatements] TO [MssExec]
GRANT UPDATE ON  [dbo].[VanLineStatements] TO [MssExec]
GO
Uses