Home > Database > Mysql Tutorial > body text

mysql 失去表的创建时间

WBOY
Release: 2016-06-07 16:26:47
Original
982 people have browsed it

mysql 得到表的创建时间 mysql5.0版本以上: SELECT table_name,create_time FROM information_schema.TABLES mysql5.0以后提供了一个新的数据库 information_schema,用来记录mysql中的元数据信息。元数据指的是数据的数据,比如表名、列名、列类型、索引名等

mysql 得到表的创建时间
mysql5.0版本以上:
SELECT table_name,create_time FROM  information_schema.TABLES

mysql5.0以后提供了一个新的数据库 information_schema,用来记录mysql中的元数据信息。元数据指的是数据的数据,比如表名、列名、列类型、索引名等表的各种属性名称。不过show table出来的显示各种“表”也并不是一个实际存在的物理表,而全部是视图。
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!