• Thank you SSCrazy for your quick reply.

    Now, I got the following error:

    "Category" is not a recognized table hints option. If it is intended as a parameter to a table-valued function or to the CHANGETABLE function, ensure that your database compatibility mode is set to 90."