• You cannot build and execute dynamic SQL within a function.

    CEWII