ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  C Sharp
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
Which is the best way for keeping the data in XML or SQL 
server..and why?
 Question Submitted By :: Samplestudy
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Which is the best way for keeping the data in XML or SQL server..and why?
Answer
# 1
This is a very tricky question. Is it for a long term use 
or short term use? If its for a long term then SQL server 
is the answer and XML for short term.
 
Is This Answer Correct ?    0 Yes 2 No
Sharmin Jose
 
  Re: Which is the best way for keeping the data in XML or SQL server..and why?
Answer
# 2
U shuld store ur data in Xml bcoz XML is harware and 
software indepened language its used wide variety of 
company
 
Is This Answer Correct ?    0 Yes 0 No
Amit Kumar
 
 
 
  Re: Which is the best way for keeping the data in XML or SQL server..and why?
Answer
# 3
To store the data, the best and appropriate way is SQL 
SERVER  as it is more compatible with any language and gud 
database.
i think for a short term XML also plays vital role in 
storing the data.
 
Is This Answer Correct ?    0 Yes 0 No
Shaheen
 
  Re: Which is the best way for keeping the data in XML or SQL server..and why?
Answer
# 4
FRIENDS THE ABOVE DISCUSSION ANSWER IS COMPLETELY WRONG .

THE BEST WAY TO USE IS SQL SERVER BECAUSE IF WE WANT ANY 
MODIFICATIONS TO OUR DATA IT IS VERY EASY TO ORGANISE OUR 
DATA AND RETRIVES EFFICIENTLY.


BUT COMING TO XML IT IS DIFFICULT TO HANDLE LARGE AMOUNT OF 
DATA AND DIFFICULT TO MAINTAIN AND TO MODIFY HUGE DATA.
 
Is This Answer Correct ?    6 Yes 0 No
Srinivas
 
  Re: Which is the best way for keeping the data in XML or SQL server..and why?
Answer
# 5
There are different point of view but under it there is a 
catch ... SQL SERVER stores the data in XML format only.
 
Is This Answer Correct ?    1 Yes 0 No
Manish
 
  Re: Which is the best way for keeping the data in XML or SQL server..and why?
Answer
# 6
We can keep our data in both XML or SQL Server depend on
reqirement.
  1)xml is good for small database where manipulation is not 
  frequent.data connection is also light in xml.
 2)xml is good where we have to convert our data in diffrent
   database like ms-Access.
    Sql is good where we need manipualation frequently.and
data is big.
 
Is This Answer Correct ?    2 Yes 0 No
Nazrul
 
  Re: Which is the best way for keeping the data in XML or SQL server..and why?
Answer
# 7
we can store the data in both xml and sql server, but the difference is you can store the static data in xml file like error messages, captions or menu items. But its not good for storing application data(it should store in any RDBMS)
 
Is This Answer Correct ?    0 Yes 0 No
Srinivas
 
  Re: Which is the best way for keeping the data in XML or SQL server..and why?
Answer
# 8
LIke on of our friend said, there are different perspective 
to look at, 

How the data is stored & how frequently it is modified?

XML  - High risk and low cost
SQL - Low risk and Moderate cost

Does the data contains any relationship? for e.g. customer -
 transcation - Account.........

XML does not support any relationship between data or Keys 
etc.
SQL contains relationship, Constraints etc.

Does the data is used for just reporting? 

XML can support straight forward scenario like say, show 
the data for particular Acccount etc.
SQL supports more complex & real time business scenario.

How big is the data and how complex it is to maintain?

XML has the limitation, and the flexiblity depends upon the 
amount of data
SQL will be flexible as well as accomdate amount of data 
greater than XML

What kinda applicaiton uses the data?

XML can be parsed by many languages & compatible with 
different platform
SQL can be used with the limitation of platform used i.e. 
Microsoft Framework

At the moment, these are the things that came my way, 
please correct me if i am wrong.
 
Is This Answer Correct ?    0 Yes 0 No
Sathish
 

 
 
 
Other C Sharp Interview Questions
 
  Question Asked @ Answers
 
If u declare two interfaces withsame methodnmae .prototype how can u call the particular method from class? Microsoft4
Is string reference type / value type? Accenture36
What are the ways to deploy an assembly? Visual-Soft2
Is XML case-sensitive?  2
Can you inherit multiple interfaces? Mind-Tree4
Is goto statement supported in C#? How about Java?  2
why c# is pronounced as C-sharp instead of pronouncing it as C-hash? is there any technical reason behind it?  2
What is abstract class ? Digital-GlobalSoft5
What?s the C# equivalent of C++ catch (?), which was a catch-all statement for any possible exception?  1
Explain constructor. Wipro6
What?s a delegate?  1
Tell me something about Exceptions. What is the common exception class? HCL4
what is namespace?  6
what are value types and reference types? where they are stored? Kanbay4
Difference between imperative and interrogative code? Wipro1
what are wrapper classes?  1
ThreadStart is defined in the namespace System.Threading. What type of entity is ThreadStart?  1
what is CLONE() method?  1
how to store the value in textbox using delegates if we have two user control. the value will be called from one user control to another user control. Loading and unloading will be done through delegates.  1
What are the ways to deploy an assembly?  2
 
For more C Sharp Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com