UPDATE [dbo].[DefaultProperties] SET DefaultValue = 'True' WHERE PropertyName = 'AllowAdvancedRecordingModes'; --Admin UPDATE [dbo].[UserProperties] SET PropertyValue = 'True' WHERE UserID = (SELECT ID FROM [dbo].[Users] WHERE UserName = 'Admin') AND PropertyId = (SELECT PropertyId FROM [dbo].[DefaultProperties] WHERE PropertyName = 'AllowAdvancedRecordingModes'); UPDATE [dbo].[UserProperties] SET PropertyValue = 'True' WHERE UserID = (SELECT ID FROM [dbo].[Users] WHERE UserName = @InitializationType) AND PropertyId = (SELECT PropertyId FROM [dbo].[DefaultProperties] WHERE PropertyName = 'AllowAdvancedRecordingModes');