Click here to Skip to main content
15,900,461 members
Home / Discussions / C#
   

C#

 
GeneralURGENT URGENT Pin
falandas28-May-05 2:46
falandas28-May-05 2:46 
GeneralRe: URGENT URGENT Pin
WillemM28-May-05 5:20
WillemM28-May-05 5:20 
GeneralRe: URGENT URGENT Pin
Christian Graus28-May-05 11:52
protectorChristian Graus28-May-05 11:52 
Generalenum overloading Pin
hasansheik28-May-05 2:28
hasansheik28-May-05 2:28 
GeneralRe: enum overloading Pin
Robert Rohde28-May-05 3:17
Robert Rohde28-May-05 3:17 
GeneralRe: enum overloading Pin
S. Senthil Kumar28-May-05 19:03
S. Senthil Kumar28-May-05 19:03 
QuestionSql or Xml ? Pin
MoustafaS28-May-05 2:27
MoustafaS28-May-05 2:27 
AnswerRe: Sql or Xml ? Pin
Robert Rohde28-May-05 3:27
Robert Rohde28-May-05 3:27 
The question is somehow wrong.
XML is a way to format data so that they can easily be read in a standarized way. SQL is a language to retrieve data from databases. So they are targeting completely different things. There are even database where an SQL query works on or even returns XML.

The advantage of XML is that its a standarized way to format data and libraries exist for nearly every programming language to easily read them. Because it is generally file based and needs many string operations it is relatively slow (compared to other formats).

With SQL you have a language at hand where you describe what data you want to get from a datasource. The advantage is that about every database allows SQL queries and the syntax is nearly the same on all of them. But it doesnt provide any way to access the database. For that you'll need some libraries which transfer your commands to the database and retrieve the data so you can access it. In .Net this is done by various providers (e.g. for OleDb, ODBC, Oracle...). Depending on which one you choose this access is generally by far faster than XML (at least when it comes to large amounts of data).
GeneralRe: Sql or Xml ? Pin
MoustafaS28-May-05 3:57
MoustafaS28-May-05 3:57 
GeneralDataGrid DoubleClick Event Pin
Afief28-May-05 2:26
Afief28-May-05 2:26 
GeneralRe: DataGrid DoubleClick Event Pin
hasansheik28-May-05 2:31
hasansheik28-May-05 2:31 
GeneralRe: DataGrid DoubleClick Event Pin
Afief28-May-05 2:58
Afief28-May-05 2:58 
QuestionHow can write sync sensittivity to live video Pin
Member 110343128-May-05 1:05
Member 110343128-May-05 1:05 
GeneralDial Up program Pin
ksanju100028-May-05 0:50
ksanju100028-May-05 0:50 
Generalhelp me about insert Pin
albCode28-May-05 0:35
albCode28-May-05 0:35 
GeneralRe: help me about insert Pin
Christian Graus28-May-05 0:54
protectorChristian Graus28-May-05 0:54 
GeneralRe: help me about insert Pin
cjengler28-May-05 1:44
cjengler28-May-05 1:44 
Generalwindows programming Pin
nume27-May-05 23:58
nume27-May-05 23:58 
GeneralRe: windows programming Pin
MoustafaS28-May-05 0:20
MoustafaS28-May-05 0:20 
GeneralRe: windows programming Pin
nume28-May-05 0:32
nume28-May-05 0:32 
GeneralRe: windows programming Pin
MoustafaS28-May-05 0:34
MoustafaS28-May-05 0:34 
GeneralRe: windows programming Pin
nume28-May-05 1:20
nume28-May-05 1:20 
GeneralRe: windows programming Pin
Christian Graus28-May-05 0:56
protectorChristian Graus28-May-05 0:56 
GeneralSame prob, another prob Pin
Niklas Ulvinge27-May-05 23:55
Niklas Ulvinge27-May-05 23:55 
GeneralRe: Same prob, another prob Pin
Christian Graus28-May-05 0:57
protectorChristian Graus28-May-05 0:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.