Forum

How to write a Proc...
 
Notifications
Clear all

How to write a Procedure to Update Employee Name?


Rakesh
Posts: 47
 Rakesh
Topic starter
(@Rakesh)
Joined: 1 year ago

Consider the employee name is Dinesh. 

1 Reply
Rakesh
Posts: 47
 Rakesh
Topic starter
(@Rakesh)
Joined: 1 year ago

Hello,

 

You can try this simple procedure to update the employee name in the employee table. 

 

Create Procedure [dbo].[Employee]

@First Name Varchar(50)

As Update Employee

SET First Name = @First Name

Where First Name = 'Dinesh'

Reply
Share: