SQL UPDATE with LIKE

后端 未结 7 1669
夕颜
夕颜 2020-12-18 03:27

I was trying to update approx 20,000 records in a table by using statements like this one, however, I got the message say 0 row(s) affected so it didn\'t work.<

7条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-18 03:52

    I had a similar trouble. The problem are the quotations marks " I Fixed my code as follow.

    UPDATE Table SET Table.Field = "myreplace" WHERE (((Table.Field) Like '%A-16%'));

    Regards, Alexwin1982

提交回复
热议问题