2016. 10. 7. 07:58
DB/MySQL
SELECT
table_name
FROM
information_schema.KEY_COLUMN_USAGE
WHERE
table_schema ='my_database'
AND referenced_table_name = 'my_table'
'DB > MySQL' 카테고리의 다른 글
mysqldump db별 sql 덤프 (1) | 2018.09.12 |
---|---|
selecting top N records per group (0) | 2014.08.12 |
INSERT IGNORE (0) | 2013.11.29 |
procedure function 덤프 (0) | 2013.10.31 |
The Rows Holding the Group-wise Maximum of a Certain Column (0) | 2013.10.23 |