select column_name,data_type from information_schema.columns
where table_name = '表名'
--表名在数据库中是唯一的,直接通过表名获取相关信息。
--无需由表名得到表在数据库中的标识,再获取信息。

相关文章:

  • 2022-12-23
  • 2021-06-19
  • 2022-03-10
  • 2022-01-21
  • 2021-04-26
  • 2022-02-24
  • 2021-11-17
猜你喜欢
  • 2022-02-04
  • 2021-11-03
  • 2022-12-23
  • 2021-10-17
  • 2021-10-27
  • 2022-03-05
  • 2021-06-06
相关资源
相似解决方案