Tables [dbo].[DashboardManufacturers]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created1:20:02 AM Thursday, March 21, 2019
Last Modified1:20:14 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow Nulls
Cluster Primary Key PK_DashboardManufacturers_AccountID_Manufacturer: AccountID\ManufacturerForeign Keys FK_DashboardManufacturers_AccountID_Account_AccountID: [dbo].[Account].AccountIDAccountIDint4
False
Cluster Primary Key PK_DashboardManufacturers_AccountID_Manufacturer: AccountID\ManufacturerManufacturervarchar(100)100
False
DevicesPerManufacturerbigint8
False
PagesPerManufacturerbigint8
False
KeyNameKey ColumnsUnique
Cluster Primary Key PK_DashboardManufacturers_AccountID_Manufacturer: AccountID\ManufacturerPK_DashboardManufacturers_AccountID_ManufacturerAccountID, Manufacturer
True
NameUpdateDeleteColumns
FK_DashboardManufacturers_AccountID_Account_AccountIDCascadeCascadeAccountID->[dbo].[Account].[AccountID]
CREATE TABLE [dbo].[DashboardManufacturers]
(
[AccountID] [int] NOT NULL,
[Manufacturer] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DevicesPerManufacturer] [bigint] NOT NULL,
[PagesPerManufacturer] [bigint] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DashboardManufacturers] ADD CONSTRAINT [PK_DashboardManufacturers_AccountID_Manufacturer] PRIMARY KEY CLUSTERED  ([AccountID], [Manufacturer]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DashboardManufacturers] ADD CONSTRAINT [FK_DashboardManufacturers_AccountID_Account_AccountID] FOREIGN KEY ([AccountID]) REFERENCES [dbo].[Account] ([AccountID]) ON DELETE CASCADE ON UPDATE CASCADE
GO