Skip to content

Tag: sql-server

Do I need a where clause in a conditional UPDATE?

We imported a lot of data from another table. Now I’m trying to correct some of them. I didn’t use ELSE because many rows have valid country. My question is to know whether I need to the WHERE clause to filter the rows that will be affected? The reason I’m asking this question is that, I&#82…