answersLogoWhite

0


Best Answer

In XML data storage, the data is stored in a file which represents an XML Schema of the data. To read the data, you have to pull and open the entire file in memory and use technics like xpath to get the data element you want. In SQL data storage, the data is stored in a database ( usually relational database). To read the data, you simple sent an SQL query to the database. The database management engine analysis the query and get the required data elements you ask for in your query which is finally sent to you as a reply.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

AnswerBot

1h ago

XML is a markup language used for structuring and storing data in a hierarchical format, whereas SQL is a programming language used for managing and querying data stored in relational databases. XML is more flexible and self-descriptive but less efficient for complex queries compared to SQL, which offers better performance and scalability for relational data storage and retrieval.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between XML and SQL data storage?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Information Science

Difference between Object-based Data Model and Record-based Data Model?

RECORD type works only in PL/SQL. But OBJECT type gets stored in database and can be used in both SQL and PL/SQL (without redefining it in PL/SQL).


What is the difference between SQL and file based databases?

SQL and "File Based Databases" can't really be compared directly as they refer to two different concepts. SQL is a language for querying databases. "File Based Databases" often refer to data storage that you manage through your own methods, rather than using a language like SQL to query and manipulate the data. For example, MySQL stores its data in files on the hard drive. To store and manipulate the data and its structure, you use SQL queries. MySQL takes care of the data behind the scenes, and provides methods for sorting and arranging the data returned to queries. You never deal directly with the files that MySQL uses to store the data.


What are the differences between Pervasive SQL and MS SQL?

The difference between Pervasive SQL and MS SQL are slight and of a rather technical nature. To the typical consumer the functionality is very much the same, though performance may vary depending upon the use.


Which SQL statement is used to update data in a database?

Which SQL statement is used to update data in a database


What is the difference between sql and an sql server?

SQL stands for Structured Query Language and is a programming language used to manage and manipulate relational databases. An SQL server, on the other hand, is software specifically designed to store, retrieve, and manage data based on SQL queries. SQL is the language used to interact with an SQL server.

Related questions

Tell you very clearly what is the difference between sql and mysql?

SQL is a universal query language used to access relational data. MySQL is a database storage engine which utilizes the SQL query language as the means to interface with the data stored.


What is the difference between SQL and the other programming languages?

SQL is a query based language that is used to manipulate data stored in a database while other languages process data.


Difference between Object-based Data Model and Record-based Data Model?

RECORD type works only in PL/SQL. But OBJECT type gets stored in database and can be used in both SQL and PL/SQL (without redefining it in PL/SQL).


What is the difference between SQL and file based databases?

SQL and "File Based Databases" can't really be compared directly as they refer to two different concepts. SQL is a language for querying databases. "File Based Databases" often refer to data storage that you manage through your own methods, rather than using a language like SQL to query and manipulate the data. For example, MySQL stores its data in files on the hard drive. To store and manipulate the data and its structure, you use SQL queries. MySQL takes care of the data behind the scenes, and provides methods for sorting and arranging the data returned to queries. You never deal directly with the files that MySQL uses to store the data.


What is the difference between T-sql and sql?

T-SQL is Microsoft's version of the generic SQL langauge to be used with, for example, Microsoft SQL Server.


What is the difference between hql and sql?

one of the difference is HQL does not support distinct but SQL supports the distinct in the query


What is a recent breakthrough in the development of a universal language to aid storage and transmission of Web-based data is?

SQL


Difference between sql and sql plus?

SQL*PLUS is a interface between user and Oracle database. It Provide an environment to use the SQL which is a query language to communicate with oracle database


What is the difference between a stored database procedure and a batch of SQL statements submitted by a client application?

Stored procedures prevent unauthorized access to data


Difference between sql server 2003 sql server 2005?

There is no such thing as SQL Server 2003. Microft released SQL Server 2005 as the next version of SQL Server 2000.


What is the difference between quel SQL and qbe?

gand maro...is the answer


Sql statement for retrieving data between two dates in SQL Server?

SELECT aFieldName, someOtherFieldName, yetAnotherFieldName FROM aTableName WHERE fieldNameWithDateInIt BETWEEN date1 and date2