I have a procedure where I insert values into my table.
declare @fName varchar(50),@lName varchar(50),@check tinyint INSERT INTO myTbl(fName,lName) values(@fName
you can use @@rowcount after insert table
DECLARE @check int
INSERT INTO Employees (Name,Email,Phone,[Address]) VALUES('Test','test@mail.com','','')
if(@@ROWCOUNT>0) SET @check=1
SELECT @check;