开发者

Attendance table in sql server 2005

My web application stores attendance of employees daily..

I tried to figure it like this, Attendance table will contain columns EmpId,MonthId,1,2,3,4.....31..

  • Is this ok enough to hold attendance?

Any suggestions....


Might be of your interest. Storing attendance records in the database


Depending on how you need to query the database, that approach could be the most efficient. However, I'd probably use the columns employee_id of integer, date of datetime.

While there would be many more rows this way, I think it makes a lot more sense.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜