Hi Reddy K,
Either you change the Valid Values of your UDF from 1 to name (for ex: 01 - pandichery to Pandichery - Pandichery ) or you need to use Case statement in your query like (Case when UDF = 1 then "Pandichery" when UDF = 2 then "Chennai" else "" end)
Above both solution will resolve your issues.
Thanks,
Harshal