with x as (select *,rn = row_number()
over(PARTITION BY OrderNo,item order by OrderNo)
from #temp1)
select * from x
where rn > 1
आप चुनिंदा स्टेटमेंट को
. से बदलकर डुप्लीकेट हटा सकते हैंdelete x where rn > 1
with x as (select *,rn = row_number()
over(PARTITION BY OrderNo,item order by OrderNo)
from #temp1)
select * from x
where rn > 1
आप चुनिंदा स्टेटमेंट को
. से बदलकर डुप्लीकेट हटा सकते हैंdelete x where rn > 1