原文: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