if not Exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[Tbl_AccessUser]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
Begin
CREATE TABLE [dbo].[Tbl_AccessUser](
	[Id] [INT] IDENTITY(1,1) NOT NULL,
	[DenyAccessCode] [VARCHAR](50) NOT NULL,
	[Type] [VARCHAR](2) NOT NULL,
	[UserId] [SMALLINT] NOT NULL,
 CONSTRAINT [PK_Tbl_AccessUser] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
)
) ON [PRIMARY]

End
