This is what I found in the source (MsSql2000Dialect.cs Line: 59)
...
// TODO: figure out if this is the good way to fix the problem
// with exporting a DECIMAL column
// NUMERIC(precision, scale) has a hardcoded precision of 19, even though it can range from 1 to 38
// and the scale has to be 0 <= scale <= precision.
// I think how I might handle it is keep the type="Decimal(29,5)" and make them specify a
// sql-type="decimal(20,5)" if they need to do that. The Decimal parameter and ddl will get generated
// correctly with minimal work.
RegisterColumnType(DbType.Decimal, "DECIMAL(19,5)");
...
Should I log this into JIRA?
Yitzchok