user366312
user366312

Reputation: 16988

Sql Equivalent to UInt16

I know that the Sql equivalent of Int16 is SqlInt16.

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

Upvotes: 6

Views: 2262

Answers (1)

JaredPar
JaredPar

Reputation: 755141

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.

Upvotes: 3

Related Questions