Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

i am doing on sqlserver-2008. i have a table(employee) in that columns are empid,empname,empsal. i inserted some values into table. now i update the only empname values.how can i do this.please any one give to me help/suggestions.how can i achieve this.

thanks and regards
nareshraju
Posted

1 solution

Hey,

try following Query
SQL
update employee set empname='Nilesh' where empid=1


Best Luck
Happy Coding :)
 
Share this answer
 
Comments
Unareshraju 25-Apr-12 0:28am    
hi Nilesh thanks u r reply..........i need to update all empname's in my table

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900