MSG 8164, Nível 16, Estado 1, Procedimento GetSalarymonth, Linha 31 [Linha de partida em lote 13] Uma instrução EXEC de inserção não pode ser aninhada.
DECLARE @StudentGrades TABLE (
[StudentID] INT,
[StudentName] VARCHAR(100),
[Grade] DECIMAL(4, 1)
)
INSERT INTO @StudentGrades ( [StudentID], [StudentName], [Grade] )
EXECUTE [dbo].[usp_GetStudentGrades] 1
GO
Fine Fly