日期:2014-05-18  浏览次数:20498 次

如何使用命令查看索引的创建脚本
如题,如何使用命令去查看XXX表XXX索引的索引创建脚本

不知道是不是用sp_helptext这个存储过程去看



------解决方案--------------------
exec sp_helpindex tb
index_name index_description index_keys
-------------------------------------------------------- ------------------------------------------------------------------------------------------------------ ----------------------------------------------------------------------------------------------------------------
in_name nonclustered located on PRIMARY name