Wednesday, 12 March 2025

duplicate recors

 select EMPID ,Forminfoid,FormName ,count(*) as dcount 

from  tbl_FilesMigrationLogs

group by EMPID,Forminfoid,FormName

HAving COUNT(*) >1

)


delete  from cte where dcount >1

Cannot update the view or function 'cte' because it contains aggregates, or a DISTINCT or GROUP BY clause, or PIVOT or UNPIVOT operator.

solution

No comments:

Post a Comment

dropdownsearch for dyanmic fields

    I’ve enabled searchable dropdowns for all dynamic dropdown controls in Assignment Details. What I changed Added a  dropdownSearch  map...