SQL Query with binary data (PHP and MySQL)

前端 未结 4 1514
忘了有多久
忘了有多久 2020-12-03 14:11

This site had helped me a lot in the past, but now I am lost. Thanks in advance for your guidance.

I have a MySQL table that contains a Binary value, like the exampl

4条回答
  •  天命终不由人
    2020-12-03 15:01

    For me it works without quotes in the binary field

    SELECT * FROM `clients_addresses` WHERE client_id = 0x4f8472e23e63404fb8f9f56
    

提交回复
热议问题