2022. 4. 15. 18:23 DB/mysql
mysql 테이블수 칼럼수 확인 information_schema
--테이블수
select count(*) from information_schema.tables
where table_schema ='디비명';
select * from information_schema.tables
where table_schema ='디비명';
--칼럼수
select count(*) from information_schema.columns
where table_schema ='디비명';
select * from information_schema.columns
where table_schema ='디비명';
'DB > mysql' 카테고리의 다른 글
mysql date타입 변경 date_format (0) | 2022.04.15 |
---|