We have done a translations api were our users can add translations to the system. A bug in the api added duplicate rows which i need to remove.
The translationConnection_Id combined with TranslationCompanyKey_Id is a key and therefor should not be able to be duplicate. I since i'm a real sucker at SQL i need some help to create a script to remove all duplicates but saves one of the rows.
SELECT TOP 1000 [Id]
,[Value]
,[TranslationConnection_Id]
,[TranslationCompanyKey_Id]
FROM [AAES_TRAN].[dbo].[Translations]