php如何获取数据库表的注释?


包括mysql、oracle等各种数据库的

PostgreSQL mysql php oracle sql

asdfd 11 years, 9 months ago

mysql的

   
  select TABLE_COMMENT from information_schema.tables where table_name="temp";
  
+-----------------------+
| TABLE_COMMENT |
+-----------------------+
| 临时表 |
+-----------------------+
1 row in set (0.00 sec)

是要这样的吗

红脖子微笑动画 answered 11 years, 9 months ago

Your Answer