当前位置:Gxlcms > 数据库问题 > dm_db_index_physical_stats->OpenRowset

dm_db_index_physical_stats->OpenRowset

时间:2021-07-01 10:21:17 帮助过:16人阅读

SET QUOTED_IDENTIFIER ON

SET ANSI_NULLS ON

GO

create function sys.dm_db_index_physical_stats

(

@DatabaseId SMALLINT = 0,

@ObjectId INT = 0,

@IndexId INT = -1,

@PartitionNumber INT = 0,

@Mode nvarchar(20) = NULL

)

returns table

as

return select * from OpenRowset

(

IndexAnalysis,

@DatabaseId,

@ObjectId,

@IndexId,

@PartitionNumber,

@Mode

)

GO

dm_db_index_physical_stats->OpenRowset

标签:create   sel   nvarchar   dex   nal   arc   returns   creat   rom   

人气教程排行