Tables [dbo].[QuoteTemplate]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created8:20:30 AM Friday, December 7, 2018
Last Modified9:10:32 AM Friday, November 8, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_QuoteTemplate: QuoteTemplateIDQuoteTemplateIDint4
No
1 - 1
Indexes IX_QuoteTemplate_TemplateName: TemplateNameTemplateNamevarchar(64)64
No
QuoteDescriptionvarchar(64)64
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_QuoteTemplate: QuoteTemplateIDPK_QuoteTemplateQuoteTemplateID
Yes
IX_QuoteTemplate_TemplateNameTemplateName
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[QuoteTemplate]
(
[QuoteTemplateID] [int] NOT NULL IDENTITY(1, 1),
[TemplateName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[QuoteDescription] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QuoteTemplate] ADD CONSTRAINT [PK_QuoteTemplate] PRIMARY KEY CLUSTERED  ([QuoteTemplateID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QuoteTemplate] ADD CONSTRAINT [IX_QuoteTemplate_TemplateName] UNIQUE NONCLUSTERED  ([TemplateName]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[QuoteTemplate] TO [MssExec]
GRANT INSERT ON  [dbo].[QuoteTemplate] TO [MssExec]
GRANT DELETE ON  [dbo].[QuoteTemplate] TO [MssExec]
GRANT UPDATE ON  [dbo].[QuoteTemplate] TO [MssExec]
GO
Uses
Used By