Update sql.function.c