摘要: http://www.w3school.com.cn/sql/func_datediff.aspSQL Server DATEDIFF() 函数SELECT DATEDIFF(day,'2008-12-29','2008-12-30') AS DiffDate----------------------------------2013,12,1学习笔记------------------------------------------------------在数据库中建的Id为Guid类型,使其自动赋值,在Id的默认值中写 newid() 即可自动生成。 阅读全文
posted @ 2013-11-29 23:17 kanek 阅读(288) 评论(0) 推荐(0) 编辑