/* | |
* Description : Create UDF to concatenate two input strings. | |
* Expected Res : Success | |
* Date : Sep 5th 2012 | |
*/ | |
drop dataverse test if exists; | |
create dataverse test; | |
write output to nc1:"rttest/cross-dataverse_udf22.adm"; | |
create function test.getFullName($fname,$lname){ | |
string-concat([$fname,$lname]) | |
} | |
let $fn := "Bob" | |
let $ln := "Harbus" | |
return test.getFullName($fn,$ln) |