I thought that SQL was used for ERP system MS Dynamic only. My perspective is that SQL is core and there will be another application software which will call SQL. The employee uses that application software so employee will not directly access the SQL server. If my assumption is correct, the CAL number is based on the application software usage - not the employee account number.