![]() |
Ms Sql Server Store Procedure
hi, i dont know this is the right place to let me ask the problem about the database script or not.
if wrong, plz inform me. i wan to write a store procedure to check the balance leave of the user when end of year. if end of year then if balanceleave>4days then newbalance=totalannual+4days else newbalance=totalannual+balanceleave(old) end if i have one table is store the user totalannualleave, balanceanual leave, empid, leaverecordid (PK) i m first time user to use the store proc,so i duno how to start it.the store proc will run when the date is 31/12 every year(midnite) can u all guide me? thank you. |
Moving to MSSQL forum.
|
| All times are GMT +1. The time now is 08:46 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.