update template set CategoryID='b09b3a7e-4f76-4bcc-9da5-72c0224e67dh' where CategoryID=2
直接报错mysql Truncated incorrect DOUBLE value:b09b3a7e-4f76-4bcc-9da5-72c0224e67dh
是我的CategoryID=2写错了,因为CategoryID是varchar类型,我直接给了int型,其实不应该有问题吗,但是不知道为啥就是报错,但是改完就好了CategoryID='2'