SQL UDF is not currently supported with create proxy table, create table at remote server, or alter table.
The execution of SQL Functions requires this syntax:
username.functionname()