IF NOT EXISTS(SELECT * FROM sys.sysobjects WHERE name ='UnavailableAccounts' and xtype='U')
Begin
	CREATE TABLE [dbo].[UnavailableAccounts](
		[Id] [UNIQUEIDENTIFIER] NOT NULL,
		[AccountId] [INT] NOT NULL
	) ON [PRIMARY]

	ALTER TABLE [dbo].[UnavailableAccounts] ADD  CONSTRAINT [DF_UnavailableAccounts_Id]  DEFAULT (NEWID()) FOR [Id]
end