Category: sql-server

I’m trying to return a inserted row from the stored procedure using getEntityManager in symfony but receiving response as false

Here is the stored procedure used in MsSql server Create PROCEDURE [dbo].[StudentCreate] ( @name VARCHAR(250), @age INT ) AS INSERT INTO Student (name, age, state, country) VALUES (@name, @age, ‘TN’, ‘India’) SELECT state, country FROM Student WHERE [email protected]@identity Here is…