Tables [dbo].[AlternateBillTo]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)2514
Created4:57:09 PM Thursday, September 7, 2006
Last Modified11:13:43 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_AlternateBillTo: ABTPriKeyABTPriKeyint4
No
1 - 1
Indexes IX_AlternateBillTo_CustomerNumber_CustomerAddressCode: CustomerNumber\CustomerAddressCodeCustomerNumbervarchar(15)15
Yes
Indexes IX_AlternateBillTo_CustomerNumber_CustomerAddressCode: CustomerNumber\CustomerAddressCodeCustomerAddressCodevarchar(15)15
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_AlternateBillTo: ABTPriKeyPK_AlternateBillToABTPriKey
Yes
80
IX_AlternateBillTo_CustomerNumber_CustomerAddressCodeCustomerNumber, CustomerAddressCode
Yes
80
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AlternateBillTo]
(
[ABTPriKey] [int] NOT NULL IDENTITY(1, 1),
[CustomerNumber] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CustomerAddressCode] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AlternateBillTo] ADD CONSTRAINT [PK_AlternateBillTo] PRIMARY KEY CLUSTERED  ([ABTPriKey]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AlternateBillTo] ADD CONSTRAINT [IX_AlternateBillTo_CustomerNumber_CustomerAddressCode] UNIQUE NONCLUSTERED  ([CustomerNumber], [CustomerAddressCode]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[AlternateBillTo] TO [MssExec]
GRANT INSERT ON  [dbo].[AlternateBillTo] TO [MssExec]
GRANT DELETE ON  [dbo].[AlternateBillTo] TO [MssExec]
GRANT UPDATE ON  [dbo].[AlternateBillTo] TO [MssExec]
GO
Uses
Used By