网站位置:首页 >> 相关文档
查询某表中的有字段名称和字段类型
实现返回某表的所有字段名称和类型:

返回某表所有字段名称和字段类型[www.cn-web.com]
select   c.name,t.type,st.name   from   sysobjects   t,syscolumns   c  ,   systypes   st
 where   t.id=c.id   and   t.type=U   and   t.name=meikuang and c.xusertype=st.xusertype   
Time.2009-8-6     来源.http://www.gcity.com.cn     编辑.上海红提城信息科技有限公司    
© 2002-2008 www.Gcity.com.cn ICP06055129咨询热线:4008207959     021-33606181(红提城信息科技)