Welcome :Guest

Congratulations!!!

Top 5 Contributors of the Month
Pankaj Mishra
Shivakumaran
alex morco
Imran Ghani
Meenakshi

 Home >> Interview Question >> Sql Server >> Post New Question Subscribe to Interview Questions
You can also find related Interview Question to What is the minimum value of TINYINT data type?  below:

### You have a column that will only contain values from 0 to 256. What's the most economical data type to use for the column? A. TINYINT B. SMALLINT C. INT D. DECIMAL(3) E. VARCHAR(3)

Explanation:-
------------
A SMALLINT data type uses only 2 bytes of data and can store value from -32,768 to 32,767. A TINYINT data type cannot be used because the maximum value it can hold is 255. Although an INT data type can be used, SMALLINT will use only 2 bytes compared to INT's 4 bytes. VARCHAR(3) will use 3 bytes while DECIMAL(3) will use 5 bytes.
(More...)

### You cannot create an Index on a column of the following data type

TEXT,NTEXT,IMAGE (More...)

### What is the maximum date value that can be stored in a SMALLDATETIME data type?

December 31, 2079 (More...)

### What is the default size of Integer data type in VB.NET as VB.NET has Int 16, Int 32 and Int 64 also?

The default size of Integer data type is 32 bit. (More...)

### BIT DATA TYPE is an?

INTEGER DATA TYPE (More...)

### If you are going to have too many NULLS in a column,what would be the best data type to use?

VARCHAR should be used in above scenario (More...)

### Which class can be used to perform data type conversion between .NET data types and XML types?

XmlConvert (More...)

### What is the maximum size of data we can store in the image type of SQL?

We can store binary data from 0 to 2^31-1 (2,147,483,647) bytes in an image field of SQL Server. (More...)

### What data type does the RangeValidator control support in Asp.net?

There are 3 Data type RangeValidator control support

1)Integer
2)String
3)Date (More...)

### Why string are called Immutable data Type ?

The memory representation of string is an Array of Characters, So on re-assigning the new array of Char is formed & the start address is changed . Thus keeping the Old string in Memory for Garbage Collector to be disposed. (More...)

### Why string are called Immutable data Type ?

The memory representation of string is an Array of Characters, So on re-assigning the new array of Char is formed & the start address is changed . Thus keeping the Old string in Memory for Garbage Collector to be disposed. (More...)

### What is the minimum value of TINYINT datatype?

0 is the minimum value of TINYINT datatype in SQL Server (More...)

Quick Links For Interview Questions Categories:
 ASP.Net Windows Application .NET Framework C# VB.Net ADO.Net Sql Server SharePoint Silverlight OOPs JQuery JavaScript/VBScript Biztalk Patten/Practices .IIS WCF WPF WWF Networking Aptitude Others All

### Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.