>>What do you mean "call this function from SP" - do you want to call one stored procedure from another stored procedure?
>
>No, I just want to run the function from the database and make sure that VFP set path or set('procedure') is not searched to find this function.
For instance, if I have it in SP and in the program that is in set('procedure'), the one from set('procedure') was executing.
If it's not broken, fix it until it is.
My Blog