14,494 questions
Hi @Lora
You cannot specify the maxrecursion
option inside a view.
You could first create your view without the MAXRECURSION option, and then query the view include the MAXRECURSION option like this:
SELECT columns
FROM your_view
OPTION (maxrecursion 100);
Best regards,
Cosmog Hong