茶馆

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  34 随笔 :: 0 文章 :: 45 评论 :: 0 引用
搜索了半天总算搞到了
其实好像很简单的样子

select name
from syscolumns a
where exists (
select *
from sysindexkeys b
where b.id=object_id(N'表名') and a.id=b.id and a.colid=b.colid)
posted on 2006-05-10 19:51 laue 阅读(76) 评论(0)  编辑 收藏 网摘 所属分类: Dotnet



发表评论

昵称: [登录] [注册]

主页:

邮箱:(仅博主可见)

评论内容:

  登录  注册

[使用Ctrl+Enter键快速提交评论]

0 396647




相关文章:

相关链接: