--테이블수 
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
Posted by 718m2

블로그 이미지
컴퓨터회사 잡부의 삶 나는 무엇인가 나는 누구인가
718m2

공지사항

Yesterday
Today
Total

달력

 « |  » 2025.5
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

최근에 올라온 글

최근에 달린 댓글

글 보관함