摘要: create proc p_helpindex @tbname sysname ='' ,@type char(1) = '1'as--生成索引信息及索引创建脚本 --author : perfectaction--@tbname 表名,空返回所有表索引--@type 是否显示聚集索引,1显示聚集索引,2不显示聚集索引--调用:p_helpindex 'dbo.customers','1'with t as (select rank() over (order by b.name,a.name,c.name) as id,c.in 阅读全文
posted @ 2011-06-11 18:18 qanholas 阅读(383) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示