Thank you Peter,
it worked ....just for curiosity, can we declare multidimensional arrays in sql script ?...I have gone through most of the content of SAP_HANA_SQL_Script_Reference_en.pdf, I din't find any reference to multidimensional arrays..
Regards,
Vijay.