Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/72.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql 是否更改列中数据的文本转换?[SQL]_Mysql_Sql_Sql Update_Mariadb_Lowercase - Fatal编程技术网

Mysql 是否更改列中数据的文本转换?[SQL]

Mysql 是否更改列中数据的文本转换?[SQL],mysql,sql,sql-update,mariadb,lowercase,Mysql,Sql,Sql Update,Mariadb,Lowercase,列中包含的数据以大写形式存储。 是否可以使用小写字母自动更新此列中的所有数据 |---------------------|------------------| | ID | SYSLOCE2 | |---------------------|------------------| | 1 | SAMPLE | |---------------------|----------------

列中包含的数据以大写形式存储。 是否可以使用小写字母自动更新此列中的所有数据

|---------------------|------------------|
|          ID         |     SYSLOCE2     |
|---------------------|------------------|
|          1          |       SAMPLE     |
|---------------------|------------------|
|          2          |       PEOPLE     |
|---------------------|------------------|
|          3          |       HELLO      |
|---------------------|------------------|
|          4          |       WORLD      |
|---------------------|------------------|
你可以用。它将把字符串中的所有大写字母转换为等效的小写字母

UPDATE elbat
       SET sysloce2 = lower(sysloce2);