
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the C# Equivalent of SQL Server DataTypes?
The following table displays the C# equivalent of SQL Server datatypes −
SQL Server data type | Equivalent C# data type |
---|---|
varbinary | Byte[] |
binary | Byte[] |
image | None |
varchar | None |
char | None |
nvarchar | String, Char[] |
nchar | String, Char[] |
text | None |
ntext | None |
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 | None |
cursor | None |
timestamp | None |
xml | None |
- Related Questions & Answers
- The equivalent of SQL Server function SCOPE_IDENTITY() in MySQL?
- Equivalent of SQL Server IDENTITY Column in MySQL?
- MySQL LIMIT clause equivalent for SQL SERVER?
- What is the equivalent of SQL “like” in MongoDB?
- What is the C++ equivalent of sprintf?
- What is the C# equivalent of C++ friend keyword?
- What is the equivalent of C# namespace in Java?
- Does SQL Server have an equivalent to MySQL's ENUM data type?
- What is Python equivalent of the ! operator?
- What is the equivalent of a VB module in C#?
- What is the equivalent of EXCEPT in MySQL?
- What is the octal equivalent of a decimal number in C#?
- What is the Directory Server?
- What is the Certainty Equivalent Method?
- What is the difference between BLOB and CLOB datatypes?
Advertisements