2

Here is request for mysql database.
"UPDATE client_storrage SET LastMatched=UTC_TIMESTAMP() WHERE XUID=01100000000000"
It gives error Truncated incorrect DOUBLE value: '01100000000000'
XUID varchar(20) utf8_bin
LastMatched datetime
Can any one help to fix this ?

casperOne
  • 73,706
  • 19
  • 184
  • 253
Ruslan F.
  • 5,498
  • 3
  • 23
  • 42

1 Answers1

7

if XUID is a varchar you have to use quotes around it in your query:

UPDATE client_storrage 
SET LastMatched = UTC_TIMESTAMP() 
WHERE XUID = '01100000000000'
juergen d
  • 201,996
  • 37
  • 293
  • 362