• Seems to be an issue with the stored procedure.

    Take a look inside to see what's going on.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP