• When I run the query I get the following error:

    Msg 208, Level 16, State 1, Line 1

    Invalid object name 'sys.all_objects'.

    What could be the issue?

    Thanks,

    O

    --
    :hehe: