SQL Update query of a string field -


i have field "group" many different string values. want change rows field "pharmacy" , set same field "pharm". wrote query

update course set course.group = "pharm" course.group = "pharmacy" 

when run query, executes nothing change in db. there wrong?

use single quotes instead of double quotes

update course set course.[group] = 'pharm' course.[group] = 'pharmacy' 

double quotes object identifiers in sql server, , single quotes string identifiers.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -