一、查询数据库中的所有的表信息
select * from sysobjects where type='u'
二、查询数据库中的某个表结构
select * from information_schema.columns where table_name= '表名'
一、查询数据库中的所有的表信息
select * from sysobjects where type='u'
二、查询数据库中的某个表结构
select * from information_schema.columns where table_name= '表名'
转载于:https://www.cnblogs.com/blueterry/archive/2012/01/17/2324476.html