查詢mysql中沒有主鍵的表

轉載來自wc城,感謝mysql  1.查詢語句sql select concat('alter table ',table_schema,'.',table_name,' add column pkid bigint not null auto_increment primary key;') from information_schema.tables where (table_schema
相關文章
相關標籤/搜索