Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 salary increment

Author  Topic 

suriya
Starting Member

1 Post

Posted - 2012-07-17 : 01:11:57
Hi friends........

I have a problem to calculate the salary increment for every 3 years, How to calculate and get salary for increment in every 3 year in sql,,, plz give a suggestion...

suriya

lionofdezert
Aged Yak Warrior

885 Posts

Posted - 2012-07-17 : 02:18:20
Please share, table structures and sample data and required out put. It will be helpful for us to understande real problem.

--------------------------
http://connectsql.blogspot.com/
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2012-07-17 : 09:01:52
If you have a column(datetime) to indicate when salary was lastly increased, it is easy

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-07-17 : 09:42:30
do you've table which stores the increment details for salary?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -