CREATE TABLE '+ @schemaName + '.' + '[' + @tablePrefix + 'GlobalOptionSetMetadata](
[OptionSetName] [nvarchar](128) NOT NULL,
[Option] [int] NOT NULL,
[IsUserLocalizedLabel] [bit] NOT NULL,
[LocalizedLabelLanguageCode] [int] NOT NULL,
[LocalizedLabel] [nvarchar](700) NULL,
[GlobalOptionSetName] [varchar](128) NOT NULL DEFAULT (''''),
[EntityName] [varchar](128) NOT NULL,
PRIMARY KEY CLUSTERED
(
[GlobalOptionSetName] ASC,
[OptionSetName] ASC,
[Option] ASC,
[IsUserLocalizedLabel] ASC,
[LocalizedLabelLanguageCode] ASC,
[EntityName] ASC
)
) ON [PRIMARY]';