DECLARE @PropertyValue [NVARCHAR] (255)
	
SELECT @PropertyValue = PropertyValue FROM [dbo].[Settings] WHERE PropertyId = 'ShowGroups'
IF (@PropertyValue IS NULL)
BEGIN
	INSERT INTO [dbo].[Settings] VALUES ('ShowGroups', 2, 'False', 'SYSTEM')
END
ELSE
BEGIN
	UPDATE [dbo].[Settings] SET PropertyValue = 'False' WHERE PropertyId = 'ShowGroups';
END

