mysql - Error Code: 1292. Truncated incorrect DOUBLE value: 'yes' -
when execute sql query:
insert archi(nodo1,nodo2) select p.nodo,p2.nodo polinodo p,polinodo p2 p.way=p2.way , p.idpolinodo!=p2.idpolinodo , p.idpolinodo=p2.idpolinodo-1 , p.way in (select idtag_way tag_way_min k='highway' , idtag_way in (select idtag_way tag_way_min k='oneway' , (v=1 or v='true' or v='yes')) ) i receive following error:
error code: 1292. truncated incorrect double value: 'yes'
how can fix this?
thanks.
it seems column v in table tag_way numeric, part of where clause appears invalid:
(v=1 or v='true' or v='yes') try , modify part conditions match data type.
Comments
Post a Comment