views:

259

answers:

2

What value in the SqlDbType enumeration should I use for the numeric T-SQL data type?

+3  A: 

I'm pretty sure that SqlDbType.Decimal is the closest.

LukeH
+4  A: 

Decimal.

See this page: http://msdn.microsoft.com/en-us/library/system.data.sqltypes.aspx

frou
Thanks for the reference.
Michael Kniskern
Note that the above link shows `SqlType` mappings, not `SqlDbType`, although in this case the mapping is the same, `NUMERIC` to `Decimal`. Here are the full mappings: http://msdn.microsoft.com/en-us/library/cc716729.aspx
LukeH