An item with the same key has already been added.
jthamdrup
Posts: 4
I have a database (SQL 2008) and when I compare to a script folder I get the error: An item with the same key has already been added. The database has a filtered index on one table. The scrip folder has a script with the same filtered index but on another table. If I remove the filtered index from the script I do not get the error.
Comments
Please let us know the version of SQL Compare you're using. 8.0 and maybe even 8.1 had some problem with partitioned data, which is what I think you are telling us. Check for Updates on the help menu will get you up to 8.1; if the problem still happens in 8.1, there is also the "cumulative patch" you can try (see the sticky topic near the top of the forum).
http://www.red-gate.com/MessageBoard/vi ... php?t=9860
Let us know whether this fixes your issue.
Thanks!
David Atkinson
Red Gate Software
Product Manager
Redgate Software