added SQL2 functions, REST example url