Forum

How to write a Proc...
 
Share:
Notifications
Clear all

How to write a Procedure to Update Employee Name?


Rakesh
Posts: 47
 Rakesh
Topic starter
(@Rakesh)
Joined: 2 years ago

Consider the employee name is Dinesh. 

1 Reply
Rakesh
Posts: 47
 Rakesh
Topic starter
(@Rakesh)
Joined: 2 years 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



Leave a reply

Author Name

Author Email

Title *

 
Preview 0 Revisions Saved
Share: