Open abbgrade opened 2 years ago
Return data using an output parameter requires currently a workaround like
Invoke-TSqlCommand -Query @" DECLARE @SalesYTDBySalesPerson money; EXECUTE Sales.uspGetEmployeeSalesYTD N'Blythe', @SalesYTD = @SalesYTDBySalesPerson OUTPUT; SELECT @SalesYTDBySalesPerson AS SalesYTDBySalesPerson; "
Return data using an output parameter requires currently a workaround like