[MySql & Mariadb] 테이블 명세서 쿼리로 만드는 방법 !!
[MySql & Mariadb] 테이블(DB) 명세서 쿼리로 만드는 방법 !! 아래 쿼리 테이블명에 명세서로 만들고 싶은 테이블명 넣으시면 됩니다 :) SELECT t1.table_name, t1.table_comment, column_name, data_type, column_type, column_key, is_nullable, column_default, extra, column_comment FROM (SELECT table_name, table_comment FROM information_schema.TABLES WHERE table_schema='테이블명') t1, (SELECT table_name, column_name, data_type, column_type, column_key, is_..
2023. 3. 14.