CREATE TABLE [dbo].[sq_sequences_usage]
(
[sequ_sequence_code] [dbo].[ais_code_short] NOT NULL,
[sequ_item_id] [int] NOT NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[sq_sequences_usage] ADD CONSTRAINT [PK_sq_sequences_usage] PRIMARY KEY CLUSTERED  ([sequ_sequence_code], [sequ_item_id]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[sq_sequences_usage] ADD CONSTRAINT [FK_sq_sequences_usage_sq_sequences] FOREIGN KEY ([sequ_sequence_code]) REFERENCES [dbo].[sq_sequences] ([seq_sequence_code])
GO
