7.5 obtaining database metadata
生活随笔
收集整理的這篇文章主要介紹了
7.5 obtaining database metadata
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
1.每個數(shù)據(jù)庫都有一個schemata的表,保存數(shù)據(jù)庫的元數(shù)據(jù)
? ?》select * from information_schema.schemata
? ?>where schema_name='world'\G
? 其中show也可以展示數(shù)據(jù)庫的元數(shù)據(jù)
show databases;
總結(jié)
以上是生活随笔為你收集整理的7.5 obtaining database metadata的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 7.1 数据库的性质
- 下一篇: 表和索引