can anyone help me with my problem. I need to create a sql rule that will allow/limit the leader of a team to assess the workers. He must once in a month give grades (from 1 to 10) to each worker.
I am new at this, and till now i found nothing that would point me to the right direction.
Is the rule good option for this job?
Thanks in advance 🙂
Simple: just forget SQL Server here. Your question is akin to asking a form to do that – it is not the that decides that.
I am quite sure you dont expect your people to type SQL commands – so put the functionality into whatever PROGRAM you write, not the database server.
SQL “rules” are the wrong place for that. This is a workflow / business rule question.
Primary key with month / worker and you can not insert. Now start sitting down and WRITING a PROGRAM that handles the rest. No silver bullet repalcements for some programming here, sorry.