MySQL にては
SELECT HEX(string_data);
SELECT HEX(CONVERT(string_data USING UTF8));
PostgreSQL にては
SELECT ENCODE(string_data::BYTEA, 'HEX');
Go to list of users who liked
More than 5 years have passed since last update.
MySQL にては
SELECT HEX(string_data);
SELECT HEX(CONVERT(string_data USING UTF8));
PostgreSQL にては
SELECT ENCODE(string_data::BYTEA, 'HEX');
Register as a new user and use Qiita more conveniently
Go to list of users who liked