what is a tinyint in C#?
SQL has its own datatypes. But a small int in SQL translates to an Int16 in C#. But there is no such thing as Int8 in C#. So what is a tiny int in C#?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Syed ShakeerPosted Feb 14, 2017, 11:35 AM
Mahesh ChandPosted Jul 12, 2011, 9:47 PM
short = 16 bits
int = 32 bits
long = 64 bits
VulpesPosted Jul 12, 2011, 6:52 PM
Both are single byte unsigned integers with a range of 0 to 255.