Thanks laurie and dwain.c.
dwain.c i like your approach as it's bit simple but please can you give some explanation so that it makes more sense to me... i always thought that max() function is used for numbers...
did a quick test and both of them seem to work but unfortunately I can't use SQL 2008, sorry didn't mention this earlier.
Regards,
kk