简体   繁体   中英

How to determine what an existing table's column delimiter is in MySQL

I am working with an existing table in MySQL but I need to know how it was set up. I need to find the FIELDS TERMINATED BY setting so I can set up my Impala database accordingly.

use :

SHOW CREATE TABLE mytablename;

Or look in the information_schema in the Table TABLES are all informations if you want you build a complex Query.

SELECT * 
FROM information_schema.tables
  WHERE TABLE_SCHEMA ='your_schema' 
  AND TABLE_NAME='your Table' 
  AND TABLE_TYPE = 'BASE TABLE;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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