咨询一下,sqlserver 有方法直接导出数据库中的所有索引吗?

0
已邀请:
0

- 取是能力,舍是境界 2016-10-24 回答

你百度下吧,通过系统表是可以获取的。
 
select a.name as tabname
,h.name as idname
from sys.objects as a 
right join sys.indexes as h on a.object_id=h.object_id
where a.type<>'s' 
0

老头子 - 专注是唯一的捷径 2016-10-24 回答

导出不知道,查询肯定是可以的,
0

GeorgeYao - 路漫漫其修远兮,吾将上下而求索! 2016-10-24 回答

如一楼的方式查询输出你想要的结果

要回复问题请先登录注册