The source data or data source is the primary source where data comes from, in computer programming. The data source can be a database, a dataset, a spreadsheet or even hard-coded data. When data is displayed in a web page or desktop application, in a column-row format or other formats, the data was retrieved from its data source and presented in the format defined in the programming.
Computer applications can have multiple data sources defined, depending on its function. Applications like Oracle, SalesForce.com and SAP all use databases as data sources. A common type of database is a SQL database, but some applications can use other types of databases, like Microsoft Access. While less stable, a series of spreadsheets can be used as a data source, but this is less common due to the chance of spreadsheets becoming corrupted as their size increases. Databases are often part of a larger data backup system and can be maintained more efficiently, thus making them more popular choices as data sources.