cancel
Showing results for 
Search instead for 
Did you mean: 

NHibernate driver/dialect error

Former Member
2,439

I'm using NHibernate (3.3.2.4000) to access my SA12 database. Currently I have an linq expression that take sum of a column [type: numeric(19,2)] but sa server is throwing an exception since generated sql is something like

select sum(cast(value as numeric(19,255)))

I know numeric(19,255) is invalid. But now I have 2 questions:

  1. How to solve / work around?
  2. Why using NHibernate 3.1.0.4000 with sa11 dialect it works?

Thank you.

Accepted Solutions (0)

Answers (0)