MySQL双等号 [英] MySQL Double Equal Sign
本文介绍了MySQL双等号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在调试一个旧网站,但出现一些SQL错误. 当我检查它时,发现了以下查询.
I'm debugging an old website, and I get some SQL errors. When I went through it, I found the following query.
UPDATE boats
set new_high_date == DATE_ADD(NOW(), INTERVAL 3 MONTH)
WHERE id=49701
我不知道 == 是什么意思.这是有效的查询吗? 我似乎无法执行它.
I don't know what the == here means. Is this a valid query? I cannot seem to execute it.
我不确定是否应该更改它,或者这意味着什么?
I'm not sure if I should change this, or does it mean something?
推荐答案
MySQL中没有double相等,因此应将其删除.
There is no double equal in MySQL so you should remove it.
这篇关于MySQL双等号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文