sql server - how to add salary in every row of a table -


I have a table worker in SQL Server. There are three column IDs, names and salaries in the employee table. And 10 rows are put in the table, so I want to write a question to add 500 rupees to each employee salary. help please.

Assume the salary is stored in the form of "rupees" (probably rupees if you Update: Employee's Scheduled Pay = Pay +500

This will be the 500 requests for each salary in each row, whatever you request. You can add a where section if you want to limit the rows that are affected but which do not fit your needs. Looks In.

Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -