CREATE TABLE A_B (
A_id INT NOT NULL,
b_id INT NOT NULL,
CONSTRAINT PK__A_B__B54FFDE90F6D37F0 PRIMARY KEY (A_id, b_id) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = OFF, ALLOW_PAGE_LOCKS = OFF)
)
GO
CREATE UNIQUE INDEX UQ__A_B__4E29C30C1249A49B ON A_B (b_id ASC)
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = OFF, ALLOW_PAGE_LOCKS = OFF)
GO
)