• If that's case you can add additional condition within the script. Run a select statement one by one and check which is causing an issue.

    Muthukkumaran Kaliyamoorthy
    https://www.sqlserverblogforum.com/