Hello, I am currently working on a project and am having a few problems.I am trying to increase the salary of employees in my database by 5%I have written the following queries:SELECT *FROM EmployeeWHERE EEO1Class LIKE 'Sales Worker'
This selects the Employees based on job classification and it runs just fine. Next I want to increase the Salary rate by 5% for those employees only. So I wrote the following:UPDATE Employee SET Salary = 'Salary * 5%'WHERE EEO1Class='Sales Worker'
However when I run this I get the following error:Msg 235, Level 16, State 0, Line 2Cannot convert a char value to money. The char value has incorrect syntax.
Anyone have any ideas, hints, tips?UPDATE Employee SET Salary = 'Salary * 5%'WHERE EEO1Class='Sales Worker'