• Hi Michael,

    Currently needs to be in a persisted computed column hence no variables. It's not in a function. Once it works will no doubt put in function also.