什麼是 SQL Server 資料型別的 C# 等價物?
下表展示了 C# 等價的 SQL Server 資料型別 −
| SQL Server 資料型別 | C# 等價資料型別 |
|---|---|
| varbinary | Byte[] |
| binary | Byte[] |
| image | 無 |
| varchar | 無 |
| char | 無 |
| nvarchar | String, Char[] |
| nchar | String, Char[] |
| text | 無 |
| ntext | 無 |
| rowversion | Byte[] |
| bit | Boolean |
| tinyint | Byte |
| smallint | Int16 |
| int | Int32 |
| bigint | Int64 |
| smallmoney | Decimal |
| money | Decimal |
| numeric | Decimal |
| decimal | Decimal |
| real | Single |
| float | Double |
| smalldatetime | DateTime |
| datetime | DateTime |
| table | 無 |
| cursor | 無 |
| timestamp | 無 |
| xml | 無 |
廣告
資料結構
網路
RDBMS
作業系統
Java
iOS
HTML
CSS
Android
Python
C 程式設計
C++
C#
MongoDB
MySQL
Javascript
PHP