[ Programing ]/Database

[MySQL] 테이블 스키마 확인.

Mister_Q 2023. 5. 8. 10:55

SELECT * 
FROM information_schema.TABLES 
WHERE TABLE_SCHEMA = "[DATABASE]" AND TABLE_NAME = "[TABLE]";