Created
January 22, 2016 02:07
-
-
Save radityopw/a662de0da30d3122a344 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].[person_cluster]( | |
[id] [int] IDENTITY(1,1) NOT NULL, | |
[nama] [varchar](50) NOT NULL, | |
[umur] [int] NOT NULL, | |
CONSTRAINT [PK_person_cluster] PRIMARY KEY CLUSTERED | |
( | |
[id] ASC | |
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | |
) ON [PRIMARY] | |
CREATE TABLE [dbo].[person_non_cluster]( | |
[id] [int] IDENTITY(1,1) NOT NULL, | |
[nama] [varchar](50) NOT NULL, | |
[umur] [int] NOT NULL, | |
CONSTRAINT [PK_person_non_cluster] PRIMARY KEY NONCLUSTERED | |
( | |
[id] ASC | |
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | |
) ON [PRIMARY] | |
CREATE NONCLUSTERED INDEX [person_cluster_umur] ON [dbo].[person_cluster] | |
( | |
[umur] ASC | |
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | |
CREATE NONCLUSTERED INDEX [person_non_cluster_umur] ON [dbo].[person_non_cluster] | |
( | |
[umur] ASC | |
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment