I have two tables department and employee.
In the department table I have three columsn: DEP_ID, NAME, HIKEINPERCENT
In the employee table I have four columns: EMP_ID, DEP_ID, EMP_NAME, SALARY
Now if I update the HIKEINPERCENT in the department table, it should update the SALARY of the employees in the employee table by using CURSOR in SQL Server.
PLS GUIDE WITH EXPLANATION..