CREATE TABLE [dbo].[customer_to_customercodes] ( [customer_number] [int] NOT NULL, [customer_code] [int] NOT NULL, [client_db] [varchar](20) NOT NULL ,CONSTRAINT [customer_to_customercodes$0] PRIMARY KEY CLUSTERED ([customer_number], [customer_code], [client_db]) ) GO