Tables [dbo].[DTA_reports_partitionscheme]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count0
Created1:20:07 PM Friday, May 11, 2007
Last Modified1:20:07 PM Friday, May 11, 2007
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK__DTA_reports_part__3B95D2F1: PartitionSchemeIDPartitionSchemeIDint4
No
1 - 1
Foreign Keys FK__DTA_repor__Parti__3C89F72A: [dbo].[DTA_reports_partitionfunction].PartitionFunctionIDIndexes DTA_reports_partitionscheme_index: PartitionFunctionIDPartitionFunctionIDint4
No
PartitionSchemeName[sys].[sysname]256
No
PartitionSchemeDefinitionntextmax
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK__DTA_reports_part__3B95D2F1: PartitionSchemeIDPK__DTA_reports_part__3B95D2F1PartitionSchemeID
Yes
DTA_reports_partitionscheme_indexPartitionFunctionID
Foreign Keys Foreign Keys
NameDeleteColumns
FK__DTA_repor__Parti__3C89F72ACascadePartitionFunctionID->[dbo].[DTA_reports_partitionfunction].[PartitionFunctionID]
SQL Script
CREATE TABLE [dbo].[DTA_reports_partitionscheme]
(
[PartitionSchemeID] [int] NOT NULL IDENTITY(1, 1),
[PartitionFunctionID] [int] NOT NULL,
[PartitionSchemeName] [sys].[sysname] NOT NULL,
[PartitionSchemeDefinition] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[DTA_reports_partitionscheme] ADD CONSTRAINT [PK__DTA_reports_part__3B95D2F1] PRIMARY KEY CLUSTERED ([PartitionSchemeID]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [DTA_reports_partitionscheme_index] ON [dbo].[DTA_reports_partitionscheme] ([PartitionFunctionID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DTA_reports_partitionscheme] ADD CONSTRAINT [FK__DTA_repor__Parti__3C89F72A] FOREIGN KEY ([PartitionFunctionID]) REFERENCES [dbo].[DTA_reports_partitionfunction] ([PartitionFunctionID]) ON DELETE CASCADE
GO
Uses
Used By