I have a Stored Procedure from which I get information and I need to insert that information in a temporary table, this is what I have:
EXEC AR_2019 'ANUAL', 2019, 03
INTO #AR_FAMILIAS_2019
I have the error:
Incorrect syntax near the keyword 'INTO'.
It is indeed an illegal syntax. For what you intend, you can use a clause of the type:
For example:
Important: