SQL获取数据库中表的列名和列类型
时间:2014-09-28 17:18:45
收藏:0
阅读:279
select column_name as [字段名],data_type as [数据类型]
from information_schema.columns
where table_name=‘表名‘ and data_type<>‘xml‘
原文:http://www.cnblogs.com/czg10047/p/3998453.html
评论(0)