How can I directly view blobs in MySQL Workbench

前端 未结 12 2100
一整个雨季
一整个雨季 2021-01-30 19:31

I\'m using MySQL Workbench CE 5.2.30 CE / Rev 6790 . When execute the following statement:

SELECT OLD_PASSWORD(\"test\")

I only get back a nice

12条回答
  •  你的背包
    2021-01-30 20:19

    there is few things that you can do

    SELECT GROUP_CONCAT(CAST(name AS CHAR))
    FROM product
    WHERE  id   IN (12345,12346,12347)
    

    If you want to order by the query you can order by cast as well like below

    SELECT GROUP_CONCAT(name ORDER BY name))
    FROM product
    WHERE id   IN (12345,12346,12347)
    

    as it says on this blog

    http://www.kdecom.com/mysql-group-concat-blob-bug-solved/

提交回复
热议问题