Tables [dbo].[CustomerStatementProfile]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)6
Created10:12:49 PM Thursday, December 28, 2006
Last Modified11:13:39 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_CustomerStatementProfile: CustomerStatementProfileIDCustomerStatementProfileIDint4
No
1 - 1
ProfileNamevarchar(64)64
No
Descriptionvarchar(256)256
No
LastRunDatedatetime8
Yes
Parameterstextmax
No
Foreign Keys FK_CustomerStatementProfile_CustomerStatementTitle: [dbo].[CustomerStatementTitle].CustomerStatementTitleFIDCustomerStatementTitleFIDint4
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_CustomerStatementProfile: CustomerStatementProfileIDPK_CustomerStatementProfileCustomerStatementProfileID
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_CustomerStatementProfile_CustomerStatementTitleCustomerStatementTitleFID->[dbo].[CustomerStatementTitle].[CustomerStatementTitleID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[CustomerStatementProfile]
(
[CustomerStatementProfileID] [int] NOT NULL IDENTITY(1, 1),
[ProfileName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Description] [varchar] (256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[LastRunDate] [datetime] NULL,
[Parameters] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CustomerStatementTitleFID] [int] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[CustomerStatementProfile] ADD CONSTRAINT [PK_CustomerStatementProfile] PRIMARY KEY NONCLUSTERED  ([CustomerStatementProfileID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CustomerStatementProfile] ADD CONSTRAINT [FK_CustomerStatementProfile_CustomerStatementTitle] FOREIGN KEY ([CustomerStatementTitleFID]) REFERENCES [dbo].[CustomerStatementTitle] ([CustomerStatementTitleID])
GO
GRANT SELECT ON  [dbo].[CustomerStatementProfile] TO [MssExec]
GRANT INSERT ON  [dbo].[CustomerStatementProfile] TO [MssExec]
GRANT DELETE ON  [dbo].[CustomerStatementProfile] TO [MssExec]
GRANT UPDATE ON  [dbo].[CustomerStatementProfile] TO [MssExec]
GO
Uses
Used By