原文:sqlserver获取表名,字段名

一 获取表的基本信息 SELECT TableName Tables .name , TableOwner Schemas .name , TableCreateDate Tables .create date , TableModifyDate Tables .modify date FROM sys.tables AS Tables INNER JOIN sys.schemas AS Sche ...

2014-02-26 14:46 0 14843 推荐指数:

查看详情

mysql中获取&字段名的查询语句

1:查询数据库中所有  select table_name   from information_schema.tables   where table_schema='csdb' and table_type='base table';   table_schema:用于限定 ...

Sun Dec 02 01:15:00 CST 2018 0 3453
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM