.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Interview Question >> Sql Server >> Post New Question Subscribe to Interview Questions

What is the minimum value of TINYINT datatype?

Posted By :Dhiraj Ranka     Posted Date :July 18, 2011    Points :40   Category :Sql Server 
0 is the minimum value of TINYINT datatype in SQL Server

You can also find related Interview Question to What is the minimum value of TINYINT datatype?  below: 

What is the minimum value of TINYINT data type?

0 is the minimum value of TINYINT data type (More...)

Minimum number of queues needed to implement the priority queue?

Two. One queue is used for actual storing of data and another for storing priorities. (More...)

Which of the following is a fixed length DataType?

CHAR Data type is used when the column lenght is known (More...)

How can you set minimum permissions for C# through code?

using System.Security.Permissions;
[assembly:FileDialogPermissionAttribute(SecurityAction.RequestMinimum, Unrestricted=true)] (More...)

Which datatype is used t store files in SQL?

We can use 'image' datatype to store images as well as files in SQL server. (More...)

What is the minimum and maximum length of the header in the TCP segment and IP datagram?

The header should have a minimum length of 20 bytes and can have a maximum length of 60 bytes. (More...)

What is the use of xml datatype in SQL Server?

As the name indicates xnl datatype is used to store XML documents in SQL Server.

For more information please go to the following URL,
http://msdn.microsoft.com/en-us/library/ms187339.aspx (More...)

What is datatype of pointer?

Pointer can be of any datatype and is not restricted to the size of that particular datatype. Pointer is a variable of 4byte as all address in a 32 bit computer are of 4 byte length. So what about 64 bit computers? Well in 64 bit computers the pointer size will vary, but if we rum a 32 bit pointer in 64 bit system then we will find half of the pointer's field is empty like 0x000000. (More...)

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?


Correct Answer : B
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.

State whether Except clause will work if number of fields are same but with different datatype?

No, It will not work number of fields and datatype of each field should match with respective fields in both the query. (More...)

What is XML datatype?

It lets you store xml data in database 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.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend