describe명령어 말고 테이블 정보를 가져 올 수 있다. column_name만 가져오는게 필요 할 때가 있다.


select column_name, data_type, character_maximum_length
    from INFORMATION_SCHEMA.COLUMNS 
    where table_name = 'table_name';


+ Recent posts