ALTER PROCEDURE EditEmployee (
@RefNo integer ,
@EmpId nvarchar ,
@Name ntext ,
@Designation ntext ,
@Qualification ntext ,
@Gender ntext ,
@DOB date ,
@Address text ,
@Email ntext ,
@Phone decimal )
as
begin
UPDATE Emp_Sample
SET RefNo=@RefNo,Name=@Name,Designation=@Designation,
Qualification=@Qualification,Gender=@Gender,
DOB=@DOB,Address=@Address,Email=@Email,
Phone=@Phone
where EmpId=@EmpId
END