Tables [dbo].[InvoiceProperties]
Properties
PropertyValue
HeapYes
Row Count (~)0
Created4:57:07 PM Thursday, September 7, 2006
Last Modified11:13:39 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Primary Key PK_InvoiceProperties: InvoicePropertiesIDInvoicePropertiesIDint4
No
1 - 1
Foreign Keys FK_InvoiceProperties_Reports: [dbo].[Reports].ReportsFIDIndexes IX_InvoiceProperties_ReportsFID: ReportsFIDReportsFIDint4
No
IncludeBranchImagebit1
No
((0))
IncludeVanlineImagebit1
No
((0))
HideHeaderAddressbit1
No
((0))
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_InvoiceProperties: InvoicePropertiesIDPK_InvoicePropertiesInvoicePropertiesID
Yes
80
IX_InvoiceProperties_ReportsFIDReportsFID
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_InvoiceProperties_ReportsReportsFID->[dbo].[Reports].[Prikey]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[InvoiceProperties]
(
[InvoicePropertiesID] [int] NOT NULL IDENTITY(1, 1),
[ReportsFID] [int] NOT NULL,
[IncludeBranchImage] [bit] NOT NULL CONSTRAINT [DF_InvoiceProperties_IncludeBranchImage] DEFAULT ((0)),
[IncludeVanlineImage] [bit] NOT NULL CONSTRAINT [DF_InvoiceProperties_IncludeVanlineImage] DEFAULT ((0)),
[HideHeaderAddress] [bit] NOT NULL CONSTRAINT [DF_InvoiceProperties_HideHeaderAddress] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InvoiceProperties] ADD CONSTRAINT [PK_InvoiceProperties] PRIMARY KEY NONCLUSTERED  ([InvoicePropertiesID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InvoiceProperties] ADD CONSTRAINT [IX_InvoiceProperties_ReportsFID] UNIQUE NONCLUSTERED  ([ReportsFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InvoiceProperties] ADD CONSTRAINT [FK_InvoiceProperties_Reports] FOREIGN KEY ([ReportsFID]) REFERENCES [dbo].[Reports] ([Prikey])
GO
GRANT SELECT ON  [dbo].[InvoiceProperties] TO [MssExec]
GRANT INSERT ON  [dbo].[InvoiceProperties] TO [MssExec]
GRANT DELETE ON  [dbo].[InvoiceProperties] TO [MssExec]
GRANT UPDATE ON  [dbo].[InvoiceProperties] TO [MssExec]
GO
Uses