/* | |
* Description : Create UDF to multiply two integers | |
* Expected Res : Success | |
* Date : 4th September 2012 | |
*/ | |
drop dataverse test if exists; | |
create dataverse test; | |
write output to nc1:"rttest/user-defined-functions_udf14.adm"; | |
create function test.foo($a,$b) { | |
$a*$b | |
} | |
test.foo(400,200) |