블로그 이미지
bedbmsguru

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

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
  • total
  • today
  • yesterday
2018. 10. 26. 21:39 maridb&mysql

모든 테이블의 FOREIGN KEY 정보 조회
SELECT constraint_name, table_name, referenced_table_name FROM information_schema.REFERENTIAL_CONSTRAINTS

FOREIGN KEY 정보 삭제
ALTER TABLE 테이블이름 DROP FOREIGN KEY 제약조건이름

'maridb&mysql' 카테고리의 다른 글

procedure 생성 템플릿  (0) 2018.10.26
Function 템플릿  (0) 2018.10.26
mariadb (mysql)백업  (0) 2018.10.26
mariadb 설치  (0) 2017.12.26
innobackupex dependency 오류 해결  (0) 2017.12.21
posted by bedbmsguru