$ 0 0 Nidhi, You can just use UDF its not an extra mapping.And performance wise much difference wont be ter.