Ugh. So what i want to do is find the instances in a table where the arrestno occurs more than once. I need all columns for those rows where that happens. I tried using a variation of what Sunitabeck supplied me with:;WITH cte AS( SELECT ARRESTNO,FSN,COUNTS, COUNT(*) OVER (PARTITION BY ARRESTNO,FSN) AS NewCounts FROM [dbo].[ARR_AFSS])SELECT * FROM cte;--UPDATE cte SET COUNTS = NewCOUNTS;
But it's not meant to do that.I have 40 minutes to get this done, so please don't take this as an invitiation for me to "learn something" by waiting for me to figure it out on my own. Aint happenin this time.help?