/* | |
* Description : Create UDF to return ordered list of integers | |
* Expected Res : Success | |
* Date : Sep 4th 2012 | |
*/ | |
drop dataverse test if exists; | |
create dataverse test; | |
write output to nc1:"rttest/user-defined-functions_udf11.adm"; | |
create function test.OList(){ | |
[1,2,3,4,5,6,7,8,9,10] | |
} | |
for $a in test.OList() | |
return $a |