blob: 5b7d4efc9931898a5ec3776f996adac139d6927c [file] [log] [blame]
RamanGrover29@gmail.com58cf3302012-11-09 00:27:45 +00001/*
2 * Description : Create UDF that returns string
3 * : compute the string lenght of the string
4 * Expected Res : Success
5 * Date : Sep 5th 2012
6 */
7
8drop dataverse test if exists;
9create dataverse test;
10
11write output to nc1:"rttest/cross-dataverse_udf16.adm";
12
13create function test.fn02(){
14"Welcome to the world of Asterix"
15}
16
17let $str := test.fn02()
18return string-length($str)