IF Object_ID('pal_vEventHistory') IS NOT NULL
BEGIN
	DROP VIEW pal_vEventHistory
END