Tables [dbo].[DashboardAccountsByInterval]
PropertyValue
Row Count (~)0
Created1:20:02 AM Thursday, March 21, 2019
Last Modified1:22:07 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_DashboardAccountsByInterval_AccountID_ColumnIndex: AccountID\ColumnIndexForeign Keys FK_DashboardAccountsByInterval_AccountID_Account_AccountID: [dbo].[Account].AccountIDAccountIDint4
False
Cluster Primary Key PK_DashboardAccountsByInterval_AccountID_ColumnIndex: AccountID\ColumnIndexCheck Constraints C_DashboardAccountsByInterval_ColumnIndex : ([ColumnIndex]>=(1) AND [ColumnIndex]<=(57))ColumnIndexsmallint2
False
KeyNameKey ColumnsUnique
Cluster Primary Key PK_DashboardAccountsByInterval_AccountID_ColumnIndex: AccountID\ColumnIndexPK_DashboardAccountsByInterval_AccountID_ColumnIndexAccountID, ColumnIndex
True
NameOn ColumnConstraint
C_DashboardAccountsByInterval_ColumnIndexColumnIndex([ColumnIndex]>=(1) AND [ColumnIndex]<=(57))
NameUpdateDeleteColumns
FK_DashboardAccountsByInterval_AccountID_Account_AccountIDCascadeCascadeAccountID->[dbo].[Account].[AccountID]
CREATE TABLE [dbo].[DashboardAccountsByInterval]
(
[AccountID] [int] NOT NULL,
[ColumnIndex] [smallint] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DashboardAccountsByInterval] ADD CONSTRAINT [C_DashboardAccountsByInterval_ColumnIndex] CHECK (([ColumnIndex]>=(1) AND [ColumnIndex]<=(57)))
GO
ALTER TABLE [dbo].[DashboardAccountsByInterval] ADD CONSTRAINT [PK_DashboardAccountsByInterval_AccountID_ColumnIndex] PRIMARY KEY CLUSTERED  ([AccountID], [ColumnIndex]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DashboardAccountsByInterval] ADD CONSTRAINT [FK_DashboardAccountsByInterval_AccountID_Account_AccountID] FOREIGN KEY ([AccountID]) REFERENCES [dbo].[Account] ([AccountID]) ON DELETE CASCADE ON UPDATE CASCADE
GO