Tables [dbo].[ARCCustomerInformation]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)1
Created7:07:57 PM Thursday, December 17, 2009
Last Modified12:32:36 PM Monday, August 4, 2014
Columns
NameData TypeMax Length (Bytes)Allow Nulls
Primary Key PK_ARCCustomerInformation: CustomerNumberCustomerNumbervarchar(50)50
No
Cluster Key IX_ARCCustomerInformation_CollectorSysuserFID: CollectorSysuserFIDForeign Keys FK_ARCCustomerInformation_Sysuser: [dbo].[Sysuser].CollectorSysuserFIDCollectorSysuserFIDint4
Yes
Foreign Keys FK_ARCCustomerInformation_ARCAlertGroup: [dbo].[ARCAlertGroup].ARCAlertGroupFIDARCAlertGroupFIDint4
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_ARCCustomerInformation: CustomerNumberPK_ARCCustomerInformationCustomerNumber
Yes
80
Cluster Key IX_ARCCustomerInformation_CollectorSysuserFID: CollectorSysuserFIDIX_ARCCustomerInformation_CollectorSysuserFIDCollectorSysuserFID80
Foreign Keys Foreign Keys
NameColumns
FK_ARCCustomerInformation_ARCAlertGroupARCAlertGroupFID->[dbo].[ARCAlertGroup].[ARCAlertGroupID]
FK_ARCCustomerInformation_SysuserCollectorSysuserFID->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ARCCustomerInformation]
(
[CustomerNumber] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CollectorSysuserFID] [int] NULL,
[ARCAlertGroupFID] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCCustomerInformation] ADD CONSTRAINT [PK_ARCCustomerInformation] PRIMARY KEY NONCLUSTERED  ([CustomerNumber]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE CLUSTERED INDEX [IX_ARCCustomerInformation_CollectorSysuserFID] ON [dbo].[ARCCustomerInformation] ([CollectorSysuserFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCCustomerInformation] ADD CONSTRAINT [FK_ARCCustomerInformation_ARCAlertGroup] FOREIGN KEY ([ARCAlertGroupFID]) REFERENCES [dbo].[ARCAlertGroup] ([ARCAlertGroupID])
GO
ALTER TABLE [dbo].[ARCCustomerInformation] ADD CONSTRAINT [FK_ARCCustomerInformation_Sysuser] FOREIGN KEY ([CollectorSysuserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON  [dbo].[ARCCustomerInformation] TO [MssExec]
GRANT INSERT ON  [dbo].[ARCCustomerInformation] TO [MssExec]
GRANT DELETE ON  [dbo].[ARCCustomerInformation] TO [MssExec]
GRANT UPDATE ON  [dbo].[ARCCustomerInformation] TO [MssExec]
GO
Uses
Used By