Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find-DuplicateIndexes not outputing all of the results in file #181

Closed
wsmelton opened this issue Sep 16, 2016 · 2 comments
Closed

Find-DuplicateIndexes not outputing all of the results in file #181

wsmelton opened this issue Sep 16, 2016 · 2 comments
Assignees

Comments

@wsmelton
Copy link
Member

Find-DuplicateIndexes - not outputting all of the results in file, only outputs first record for each database that it finds duplicate for. Gridview shows all the results correctly.

(Cláudio Silva)

The main goal is output the drop statements for the selected rows.
Isn't this what is happening?

(Chrissy LeMaire)

That is my understanding as well. @js0505 did you select the ones you wanted to output the T-SQL for?
Can you paste the full command you used?

(js0505)

Yes, I select the ones I wanted for output, however, when there is more than one (Well technically 2 because of the duplicate) in the list per database, it will only output the first click to the file. Command was Find-SqlDuplicateIndex -SqlServer ServerA

@wsmelton wsmelton added the bug label Sep 16, 2016
@ClaudioESSilva
Copy link
Collaborator

@js0505 can't replicate 😞
I run on server with mutiple databases, 3 of them have duplicates. For each database the grid appears. I selected 2 different rows in the grid and the scrip is generated for each row.
Can you help me to reproduce it?

@niphlod
Copy link
Contributor

niphlod commented Mar 13, 2017

+1 on @ClaudioESSilva : can't reproduce. @js0505 can you please help us ? If not, I think this will need to be closed, at least until someone else can pop up with a reproducible environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants