3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

mysqlで見えない文字(空白文字など)が入っているのを確認する方法

Posted at

「なにか表示はされない文字が入ってるんだけど、何が入ってるかわからない」ってときないですか?
今まさにそんな事態に陥ったので、HEX関数を使いました

(具体例)
select hex(comment) from reviews where id = 1
=> 0A

で、 hex 0A で検索したら、改行文字でした

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?