5

I know that the Sql equivalent of Int16 is SqlInt16.

But what is the Sql equivalent of UInt16, UInt32 and Uint64?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
user366312
  • 16,949
  • 65
  • 235
  • 452

1 Answers1

3

Except for tinyint, there are no native unsigned types in SQL server so there is no good equivalent. The best you can do is use a bigger precision number and add a constraint on the permissible values.

JaredPar
  • 733,204
  • 149
  • 1,241
  • 1,454