mysql统计数据库表中是否有自增长列
/*统计数据库表中是否有自增长列*/selectdistincttable_namefrominformation_schema.columns d where d.table_name in(select table_name from information_schema.tables where table_schemanot in ('information_schema','performance_schema','dmc_db','mysql')) and d.extra = 'auto_increment')
bitscn.com