are you looking at generating flags automatically for each emp_ID. then solution should be like below:-
SELECT EMP_ID,CHAR(64 + DENSE_RANK() OVER (ORDER BY EMP_ID))
FROM table
question is how do you want values to come if there are more than 26 distinct ids so that alphabets are finished!
------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/