sql - Update column of one table from same table -
i need update 1 column of table other same table
update table set table1.name = table1.nickname table userid = 5
is there problem in query, please help.
looks you're adding syntax don't need...if data need there in table, so, regardless of flavor of sql (i think; wrong on part):
update dbo.tablename set columntochange = columnwithcorrectvalue userid = 5
Comments
Post a Comment