Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道 Int16 的 Sql 等价物是 SqlInt16。
但是 UInt16、UInt32 和 Uint64 的 Sql 等价物是什么?
除了 tinyint,SQL Server 中没有原生的无符号类型,因此没有很好的等价物。您可以做的最好的事情是使用更大的精度数并在允许值上添加约束。