
update tbAppSettings set SettingValue = @valueinSeconds
where SettingName = 'UPTQtyDelay' and SettingKey = 'Spot'

update tbAppSettings set SettingValue = @valueinSeconds
where SettingName = 'UPTQtyDelay' and SettingKey = 'Daily'

update tbAppSettings set SettingValue = @valueinSeconds
where SettingName = 'UPTQtyDelay' and SettingKey = 'Weekly'

update tbAppSettings set SettingValue = @valueinSeconds
where SettingName = 'UPTQtyDelay' and SettingKey = 'Periodic'

update tbAppSettings set SettingValue = @valueinSeconds
where SettingName = 'UPTQtyDelay' and SettingKey = 'Monthly'
