Which sql server data type best represents a double in C#?

CloudMeta picture CloudMeta · Sep 17, 2009 · Viewed 49.1k times · Source

Is it money, float, real, decimal, _________ ?

Answer

David picture David · Sep 17, 2009

Answer to this and all mapping of types can be found here.

SQL-CLR Type Mapping

Chart, stolen from that page:

enter image description here


Updated 1/7/2013 - there's a more recent version, .not so colorful here: SQL Server Data Type Mappings