thanks Jeff,
But what will happen if my initial query does not contain the key column?
Thanks
manjunath