Which is the best way for keeping the data in XML or SQL
server..and why?
Answer Posted / sathish
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 ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between func and action delegate?
What is a protected class c#?
What is meant by console programming?
Where static variables are stored?
How do you sort a list in c#?
What is the reason behind the invention of c#?
What is the difference between finalize() and dispose() methods?
What is the symbol used for in c#?
Should I use double or float?
the c# keyword .int. Maps to which .net type?
How many bytes is an int?
Why are strings immutable c#?
In a C# class we have a SortedList member m_addinProjects
we want to provide an iterator to allow the consumer of
this class access to the items in the collection. Please
provide an iterator method for the AnalyzeAddinsDLL class
below and an example of how it would be used.
namespace AnalyzeAddinsDLL
{
public class AllAddInProjects
{
private SortedList
How do I do a case-insensitive string comparison?
How does split work in c#?