• Thanks for respond me.

    I have a question: Is allowed use exec statement into a function? I ask that because I have to return a select into a application calling one

    SELECT * FROM DBO.UF_DADOS ('CARRO_01')