Embedded SQL in UDF C code

Connectivity
AP
N/A

Embedded SQL in UDF C code

Can we include embedded SQL in UDF C Code? We want to do some business calculation through UDF. The calculation needs some info from other tables, other than the table which is queried.