Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

duplicate value in table

$
0
0

Hi ALL

I need to Found duplicate value in Sort column .

I used below Query

WITH CTE (dd,SortOrder)AS
(
SELECT Row_number() over (Partition by SortOrder order by SortOrder),SortOrder
FROM ss.Dimtt
)
SELECT * from CTE
where dd>1

but how can i found duplicate value in all tables that is started from Dim.

Please help.

Thanks


Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>