"sql oracle update multiple rows" Code Answer's
You're definitely familiar with the best coding language SQL that developers use to develop their projects and they get all their queries like "sql oracle update multiple rows" answered properly. Developers are finding an appropriate answer about sql oracle update multiple rows related to the SQL coding language. By visiting this online portal developers get answers concerning SQL codes question like sql oracle update multiple rows. Enter your desired code related query in the search bar and get every piece of information about SQL code related question on sql oracle update multiple rows.
sql oracle update multiple rows
UPDATE employee
SET staff_no =
CASE depno
WHEN 1 THEN 'ab123'
WHEN 2 THEN 'ab321'
--...
ELSE staff_no
END
WHERE depno IN ( 1, 2 ) -- list all cases here. use a subquery if you don't want to / cannot enumerate
Source: stackoverflow.com
All those coders who are working on the SQL based application and are stuck on sql oracle update multiple rows can get a collection of related answers to their query. Programmers need to enter their query on sql oracle update multiple rows related to SQL code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about sql oracle update multiple rows for the programmers working on SQL code while coding their module. Coders are also allowed to rectify already present answers of sql oracle update multiple rows while working on the SQL language code. Developers can add up suggestions if they deem fit any other answer relating to "sql oracle update multiple rows". Visit this developer's friendly online web community, CodeProZone, and get your queries like sql oracle update multiple rows resolved professionally and stay updated to the latest SQL updates.