Quantcast
Channel: Open DBDiff
Viewing all articles
Browse latest Browse all 281

Commented Unassigned: Index SQL queries has a wrong column order [15440]

$
0
0
Currently the sql queries at the class \DBDiff\DBDiff.Schema.SQLServer2005\Generates\SQLCommands\IndexSQLCommand.cs has a wrong column at the ORDER BY clause, currently you have:

```
ORDER BY I.object_id, I.Name, IC.column_id
```

But the correct is

```
ORDER BY I.object_id, I.Name, IC.index_column_id
```

this way you get the correct order of the columns on the index definition.
Comments: The official way to share your changes is to fork the project and create a pull request once your changes are published to your fork. Codeplex documents this process [here](https://codeplex.codeplex.com/wikipage?title=Forks#Creating); there are blog posts with additional details like [this one here](http://lostechies.com/jimmybogard/2012/04/02/working-with-forks-on-github-or-codeplex/), though most tend to focus on github. If you're not a fan of a manual merge I would try copying everything over the initial download from the fork and running the diff to see how things work out (hope that makes sense!). If you don't have Visual Studio 2013 with git support built in, I would probably recommend [Xamarin Studio](http://xamarin.com/download) as the closest-to-Visual-Studio way to accomplish all that, but unfortunately I could not find any documentation there (and it is a big download). If you have Visual Studio 2012 you can try the [Visual Studio Tools for Git](http://visualstudiogallery.msdn.microsoft.com/abafc7d6-dcaa-40f4-8a5e-d6724bdb980c) extension, but I don't have any experience with it. If you are comfortable with the command line and a bit of advanced setup, git has a [decent installer](http://git-scm.com/downloads). In the past CodePlex allowed larger uploads related to issues but I can't find any way to attach anything larger than 4mb anymore. If necessary, I'm willing to do the merge for you if you .ZIP things up and email a link or the whole thing to me at OpenDBDiff @ gmail.com. If you're familiar with a diff you're welcome to send just that to me - basically I'll do what I can to work with whatever you have. Thanks for willingness to share your fixes; be sure to check out the other open source alternatives listed in [the documentation](https://opendbiff.codeplex.com/documentation) in case any of them can save you some additional work! The policy here is to add anyone who has contributed a fix as a developer on the project, so you're on the list now.

Viewing all articles
Browse latest Browse all 281

Trending Articles