The difference between a database and a data source

What is the difference between a database and a data source?

+6
database datasource
source share
4 answers

A data source is simply what your program uses to receive data. A database is a kind of data source that stores data in some sort of digitized form. Other data sources include files, services, etc. - All of them provide data to your programs.

+14
source share

In addition to BoltClock's answer, here is an example of databases (or database servers) and various data sources.

Database

  • SQL
  • Oracle
  • MySQL

Data sources

  • All databases above
  • XML files
  • CSV Files
  • Web Services
  • and many others.
+9
source share

To give a description from Techopedia :

A data source in the context of computer science and the application computer is the place where the data comes from. In a database management system, the main data source is a database, which can be located on a disk or a remote server. Data source for a computer program may be a file, a data sheet, a table, an XML file, or even hardcoded data in a program.

+1
source share

The data source cannot be connected to the database, it can only be a file system or any data source.

0
source share

All Articles