簡體   English   中英

如何更新表集 column = null where column = '\' without error of MySQL server version for the right syntax to use near ''\'' at line 1

[英]How to update table set column = null where column = '\' without error of MySQL server version for the right syntax to use near ''\'' at line 1

如何更新表 set column = null where column = \ in mysql?

我總是收到1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''\'' at line 1 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''\'' at line 1

You should use '\\' 


update students set firstname = null where firstname = '\\'

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM