Handling Case Insensitive Duplicated User Details
How can we identify case-insensitive duplicates in the user_id column of the user_details table?
user_id column of the user_details table?SELECT lowerid, cnt from (SELECT count(*) as cnt,LOWER(id) as lowerid FROM master.user_detail group by lowerid) t1 where cnt>1 ;
How to deactivate/delete the case insensitive duplicates?
Last updated
Was this helpful?





