Created
June 8, 2016 14:40
-
-
Save strvmarv/58fd5739f4ad0258163d277f11f03c9b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE [dbo].[Imagination_Partitioned]( | |
[Partition] [smallint] NOT NULL DEFAULT [dbo].[udf_GetDayOfTheYear](DEFAULT), | |
[Id] [int] NOT NULL, | |
[DateUtc] [datetimeoffset](7) NOT NULL, | |
[Value] [int] NOT NULL | |
CONSTRAINT [PK_Imagination_Partitioned] PRIMARY KEY CLUSTERED | |
( | |
[Partition] ASC, | |
[Id] ASC | |
)ON ps_DayOfTheYear (Partition) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment