Skip to content

Instantly share code, notes, and snippets.

@NeelBhatt

NeelBhatt/sql_script

Created May 29, 2020
Embed
What would you like to do?
CREATE TABLE [dbo].[InjuryRecords] (
[PlayerKey] varchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[GameID] varchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[PlayKey] varchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[BodyPart] varchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Surface] varchar(100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DM_M1] int NULL,
[DM_M7] int NULL,
[DM_M28] int NULL,
[DM_M42] int NULL
)
WITH (CLUSTERED COLUMNSTORE INDEX, DISTRIBUTION = ROUND_ROBIN);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment