Skip to content

Regular Expressions to Generate Disable/Drop Index Scripts #1

@eliassal

Description

@eliassal

Hi alevyinroc, I went through your post mentioned in the title which is very interesting, when I run the sp_BlitzIndex against any DB I don't get what you refer to

Reads: 5,692 Writes: 8,683,633 on: dbo.tablename.indexname (10)

Here is the PS code I used
Invoke-DbaQuery -SqlInstance SQL2K12 -Query "exec admin.management.sp_BlitzIndex @DatabaseName=StackOverflow2013,@Mode=4;" | Export-Excel -Path ~\Documents\IndexAnalysis.xlsx
I get
image

No records for read/writes as yours for the indexes, in which column "Reads: 5,692 Writes: 8,683,633 on: dbo.tablename.indexname (10)" this phrase should appear?
Thanks in advance for your help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions