摘要: 关于datetime类型使用:Oracle: "and tb.EffectiveDate >= to_date(?,'yyyy-mm')"Sql: "and tb.EffectiveDate >= Date(?,'yyyy-mm-dd')"Postgre: "and tb.EffectiveDate >= date(?)"在Nhibernate中查询SqlServer ISQLQuery sqlQuery = Session.CreateSQLQuery("SELECT {c 阅读全文
posted @ 2014-03-17 17:47 山海雍和 阅读(858) 评论(0) 推荐(0)