/* | |
* Description : Create UDF to subtract 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_udf13.adm"; | |
create function test.foo($a,$b) { | |
$a - $b | |
} | |
test.foo(400,200) |