mysql - 求纠正一个sql语句
大家讲道理
大家讲道理 2017-04-17 16:12:24
0
2
433

linux表名区分大小写。现在无法修改配置文件 只能从sql语句入手

select * from (select lower('WP_USER')) as t ;

这样的话输出

mysql> select * from (select lower('WP_USER')) as t;
lower('wp_user')
wp_user

1 row in set (0.00 sec)

如何才能查到的数据呢?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
Peter_Zhu

Why do you have to modify the table on Linux? Directly using third-party software, mysql server or Navicat or even phpmyadmin on the web page are easier to operate than Linux. If it is to practice mysql commands, those tools also have command interfaces

小葫芦

Solving the case sensitivity problem of MYSQL under LINUX
http://www.2cto.com/database/...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!