Sql server real datatype, what is the C# equivalent?

前端 未结 7 2089
难免孤独
难免孤独 2020-12-29 18:19

What is the C# equivalent to the sql server 2005 real type?

7条回答
  •  没有蜡笔的小新
    2020-12-29 18:31

    The answer is float. If you try to use double as the type in the code but your field type in the database is real it will errors out. I just tested this myself and confirmed it errors with double.

提交回复
热议问题