Answers for "sql with multiple update"

SQL
1

sql run multiple updates in one query

UPDATE table_name
SET   field_name = 
      case  field_name2 
      when 'value' then 'change_to'
      when 'value2' then 'change_to2'
end
Posted by: Guest on March-25-2020

Code answers related to "sql with multiple update"

Code answers related to "SQL"

Browse Popular Code Answers by Language