1

Closed

Possible issue with MONEY SqlType in SqlServerProvider

description

In line 176 of NMigrations.Sql.SqlServer.SqlServerProvider you have the following code
 
            case SqlTypes.Currency:
                if (scale != null && precision != null)
                    return string.Format("MONEY({0}, {1})", scale, precision);
                else
                    return "MONEY";
 
I think that scale and precision are not supported in this sql type (at least in SQL Server 2008).
Closed Apr 21, 2010 at 3:51 AM by sebastian_klose
You're right, there is no scale/precision for MONEY. This issue is fixed now, thanks for reporting.

comments