Initial Commit of the PDM project (ready for DWS migration)
This commit is contained in:
14
helpers/queries/Find_Duplicate_Rows.sql
Normal file
14
helpers/queries/Find_Duplicate_Rows.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
SELECT TOP (1000) [ConfigurationID]
|
||||
,[ConfigurationName]
|
||||
FROM [_Citadel_CS].[dbo].[DocumentConfiguration]
|
||||
|
||||
SELECT *
|
||||
FROM [_Citadel_CS].[dbo].[DocumentConfiguration]
|
||||
WHERE ConfigurationName IN (
|
||||
SELECT ConfigurationName
|
||||
FROM [_Citadel_CS].[dbo].[DocumentConfiguration]
|
||||
GROUP BY ConfigurationName
|
||||
HAVING COUNT(*) > 1
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user