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


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> Others >> Post New Question Subscribe to Interview Questions

Can we declare column with xml data type to hold xml data?

Posted By :shankey     Posted Date :July 31, 2011    Points :40   Category :Others 
Yes, A column with xml data type can be declared.

You can also find related Interview Question to Can we declare column with xml data type to hold xml data?  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)


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

Can we declare variables with xml data type?

  
Yes, variables can be declared of xml data type that can hold xml data (More...)

Which property on a Combo Box do you set with a column name, prior to setting the Data Source, to display data in the combo box?

  
ComboBox.DataValueField = "ColumnName"

When we use Databind method for the Combo box we set Display Member and Display Value property to column name. (More...)

What is the minimum value of TINYINT data type?

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

BIT DATA TYPE is an?

  
INTEGER DATA TYPE (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