모든 테이블의 제약조건 확인
select * from information_schema.table_constraints;
특정 테이블의 제약조건 확인
select * from information_schema.table_constraints where table_name = '테이블명';
참고
Information Schema CHECK_CONSTRAINTS Table
Supported check constraints.
mariadb.com
'개발 > DB' 카테고리의 다른 글
| [MariaDB] 컬럼 이름 변경 (0) | 2022.06.27 |
|---|---|
| [MariaDB] 테이블 이름 변경 (0) | 2022.06.27 |
| [MariaDB] auto_increment 값 초기화 (0) | 2022.05.27 |
| [MariaDB] safe update mode 해제 (0) | 2022.05.27 |
| [MariaDB][Node.js-express][dotenv] retrieve connection from pool timeout after 10004ms (0) | 2022.05.09 |