开发者

mysql - how to enter the record with only whitespace

开发者 https://www.devze.com 2023-03-15 01:59 出处:网络
I want to enter the record with white-space as a record in MySQL. I had tri开发者_如何学编程ed to enter it through shell and phpmyadmin, the record enters but when I try to retrieve the record it retu

I want to enter the record with white-space as a record in MySQL. I had tri开发者_如何学编程ed to enter it through shell and phpmyadmin, the record enters but when I try to retrieve the record it returns as null. I had also set the column null = no even then returns nothing.

code is below through shell and php:

insert into first_replace(to_replace, with_replace) values(".", " ");


when creating mysql table row enable NULL or edit row and enable NULL

0

精彩评论

暂无评论...
验证码 换一张
取 消