摘要: 一.mysql相关1.查询所有的数据库SHOW DATABASES;2.列出当前数据库的所有表show tables;3.查询指定数据库中的所有表信息select * from information_schema.tables where table_schema = 'ProductDB' order by table_name;4.查询指定表的字段总数select count(*) from information_schema.columns where table_schema = 'ProductDB' and table_name='Pro 阅读全文
posted @ 2013-05-03 16:36 AdaYin 阅读(110) 评论(0) 推荐(0) 编辑