Enable user when data refresh done through sql
Today we have a requirement to enable the user when there is a database refresh happens. So instead of going 1 by 1 to enable we can run the below query to enable the user. UPDATE USERINFO SET ENABLE = 1 WHERE NETWORKALIAS LIKE '%pelsis.com' OR NETWORKALIAS LIKE '%in.ibm.com' OR NETWORKALIAS LIKE '%ibm.com' Using this it will enable the user in1 shots