【发布时间】:2014-10-03 02:41:53
【问题描述】:
我的桌子:
table1
first last full
Joe Smith NULL
John Doe NULL
我的查询:
update table1
set full = concat(first, " ", last)
它什么也没做 - 立即说 0 行受到影响,耗时 33.2 毫秒。然后我将列的默认值从 NULL 更改为 none 和 poof,甚至没有再次运行查询,全名出现在列中。问题解决了。但有人能说出这是为什么吗?我迷路了。
【问题讨论】: