会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
华山下的车轮
正正正正正正正正正正正正正正正正
博客园
首页
新随笔
联系
订阅
管理
2010年1月26日
sql语句查询表的字段名
摘要: select name from syscolumns where id = (select id from sysobjects where type = 'u' and name = '相应表名')或者select name from syscolumns where id = object_id('相应表名')用以上sql语句输入相应表名就可以查到表的字段名,对应好数据库 查询是否存在该表语...
阅读全文
posted @ 2010-01-26 15:39 小奇偶
阅读(873)
评论(0)
推荐(0)
编辑
公告