I am trying to create a model for a stored procedure, but my stored procedure uses temporal tables and it depends in the data that you sent it will respond you with more results:
So the result can have a lot of rows depend on the years that you specify.
I will be glad if anyone has an idea of how to create the model that can have all the records by not hard-coding it. Thanks by the way

