且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

根据日期插入记录

更新时间:2022-05-26 03:11:54

使用LINQ,获取小于给定日期的xml元素列表,然后将它们插入表中。



对于其他情况,您可以尝试 INSERT INTO SELECT - http://www.w3schools.com/sql/sql_insert_into_select.asp [ ^ ]。
Using LINQ, get the list of xml elements less than the given date and then insert them into the table.

For other scenarios, you could try INSERT INTO SELECT - http://www.w3schools.com/sql/sql_insert_into_select.asp[^].