if not exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[CategoryGroupPersonnelXTab]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
 
CREATE TABLE [dbo].[CategoryGroupPersonnelXTab]
(
  [FK_CategoryGroupNumber] [int] NOT NULL,
  [FK_UserIdNumber] [int] NOT NULL
) ON [PRIMARY]