简体   繁体   English

在Windows中的MySQL中创建大写表的推荐方法是什么?

[英]What is the recommended way to create upper case tables in MySQL in Windows?

According to the MySQL doc , we cannot use 0 or 2 for the variable lower_case_table_names for Windows OS. 根据MySQL文档 ,对于Windows OS,我们不能对变量lower_case_table_names使用02 Using option 1 will create the tables in lower case. 使用选项1将以小写形式创建表。 So how should we create the tables in upper case exactly? 那么,我们应该如何完全以大写形式创建表呢?

My MySQL Version - 5.5.24 我的MySQL版本-5.5.24

保持配置变量lower_case_table_names不变,在创建所有表时仅使用大写名称:

CREATE TABLE MY_UPPERCASE_TABLE(...);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM