摘要: create proc p_myhelpindex @tbname sysname ='' , @CLUSTERED int = '1' as --生成索引信息及索引创建脚本 --@tbname 表名,空返回空 --@CLUSTERED 是否显示聚集索引,1显示聚集索引,2不显示聚集索引 --调用:p_myhelpindex 'dbo.customers','1' if @tbname is null or @tbname = '' return -1 declare @t table( table_name nv 阅读全文
posted @ 2012-10-22 18:58 Shikyoh 阅读(290) 评论(0) 推荐(0) 编辑