MYSQL I want to know how to query the name of the foreign key
Adolph
Adolph 2018-06-21 17:54:54
0
2
1061

I use show create table myforeign; statement query but I can’t see the name of the foreign key. The mysql I use is the one in the PHP toolbox

Adolph
Adolph

reply all(1)
无忌哥哥

select * from INFORMATION_SCHEMA.KEY_COLUMN_USAGE试试

  • reply OK solved. Thank you.
    Adolph author 2018-06-22 11:07:40
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template