如何根据日期自动将数据插入sql? [英] How to automatically insert data to sql according to date-wise.?

查看:68
本文介绍了如何根据日期自动将数据插入sql?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些疑问.

如何根据日期自动将数据插入SQL.
员工出勤示例:今天某人于10:00点进来.我会为那个员工准备礼物,但是他今天不会在10.00点钟前来自动安排今天缺席的那个员工.

我该怎么办.
我正在使用触发器,但无法获得预期的输出.

I have some doubts.

How to automatically insert data to SQL according to date-wise.
Example attendance for employee: some person came in today at 10:00 o''clock. I will put present for that employee, but he won''t come today within 10.00 o''clock automatically will come that employee today absent.

what can I do.
I am using trigger, but I can''t get expected output.

推荐答案

请在一种解决方案中遍历LINQ to SQL.
Please go through LINQ to SQL yous all in one solution.


这篇关于如何根据日期自动将数据插入sql?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆