首页 > 查看mysql主外键信息

查看mysql主外键信息

SELECT  *

FROM

information_schema.key_column_usage t

WHERE

t.constraint_schema = '库名称'

AND t.constraint_name = '外键名';

转载于:https://www.cnblogs.com/igoodful/p/8954091.html

更多相关:

  • 常用插件: Chinese(Simplified)pythonTabNineSettings Sync 配置: 外观设置为: Solarized Dark 转载于:https://www.cnblogs.com/yeran/p/11284772.html...

  • 要想实现一个简化的mybatis,主要1.读jdbc配置和mapper.xml 2.jdbc 转载于:https://www.cnblogs.com/ljjnbpy/p/9981219.html...

  • 这篇文章只有一个图片,原创的,谢谢! 转载于:https://www.cnblogs.com/saper/p/9064601.html...

  • npm link gulp node-sass gulp-sass gulp-autoprefixer gulp-sourcemaps gulp-font-spider gulp-concat gulp-uglify gulp-jshint map-stream   转载于:https://www.cnblogs.com/si...

  • 在“Session Options” - "Terminal" - "Mapped Keys" - "Other mappings",选择“Backspace sends delete”。 转载于:https://www.cnblogs.com/Clark-cloud-database/p/7813867.html...