原文:查詢當前數據庫表名和字段名SQL語句

SELECT case when a.colorder then d.name else null end 表名, a.colorder 字段序號,a.name 字段名, case when COLUMNPROPERTY a.id,a.name, IsIdentity then else end 標識, case when SELECT count FROM sysobjects WHERE na ...

2019-03-28 11:33 0 699 推薦指數:

查看詳情

使用SQL查詢所有數據庫字段名

MySQL中查詢所有數據庫 1.查詢所有數據庫show databases; 2.查詢指定數據庫中所有select table_name from information_schema.tables where table_schema='database_name ...

Tue May 08 06:04:00 CST 2018 0 16648
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM