Procedure for Update the Data in Table

 

  1. Create procedure prcupdate  
  2.     @p1 int in ,  
  3.     @p2 varchar(20) out,  
  4.     @p3 varchar(20) out,  
  5.     @p4 salary small money out  
  6. As  
  7. Select ename = @p2, designation = @p3, salary = @p4  
  8. From employee where eid = @p1  
  9. Go