Database dump

Database dump
For information on obtaining the Wikipedia database, see Wikipedia:Database download.

A database dump contains a record of the table structure and/or the data from a database and is usually in the form of a list of SQL statements. A database dump is most often used for backing up a database so that its contents can be restored in the event of data loss. Corrupted databases can often be recovered by analysis of the dump. Database dumps are often published by free software and free content projects, to allow reuse or forking of the database.

Contents

Example

-- Database
CREATE DATABASE 'example';
USE 'example';
 
-- Table structure for table 'users'
CREATE TABLE 'users' (
  'id' INT(8) UNSIGNED NOT NULL AUTO_INCREMENT,
  'username' VARCHAR(16) NOT NULL,
  'password' VARCHAR(16) NOT NULL,
  PRIMARY KEY ('id')
);
 
-- Data for table 'users'
INSERT INTO 'users' VALUES (1,'alice','secret'),(2,'bob','secret');

See also

References

External links



Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Dump — generally refers to a place for disposal of domestic waste. See articles at midden and landfill. Other uses The word has other uses alone or in combination and may refer to: Dump (program), a Unix program for backing up file systems Dump (band),… …   Wikipedia

  • UK Statute Law Database — The UK Statute Law Database is the official web accessible database of the statute law of the United Kingdom, hosted by the Ministry of Justice. History Background Access to statute law in the United Kingdom was, for some time, a difficult matter …   Wikipedia

  • Ingres (database) — Ingres Ingres Corporation logo Developer(s) Actian Corporation Stable release Ingres Database 10 / October 12, 2010; 13 months ago (2010 10 12) …   Wikipedia

  • Brain dump — The phrase brain dump refers to these things:* Generally, the transfer of a large quantity of information from one person to another or to a piece of paper can be referred to as a brain dump .* In slang, it can describe a hurried explanation of a …   Wikipedia

  • Stig of the Dump — Стиг из Дампа Stig of the Dump Жанр Драма Фантастика Семейный Режиссёр Джон Хэй Продюсер Илэйн …   Википедия

  • City Dump: The Story of the 1951 CCNY Basketball Scandal — Directed by George Roy Steven Hilliard Stern Release date(s) …   Wikipedia

  • Comparison of relational database management systems — Programming language comparisons General comparison Basic syntax Basic instructions Arrays Associative arrays String operations …   Wikipedia

  • Comparison of database tools — The following tables compare general and technical information for a number of available database administrator tools. Please see individual product articles for further information. This article is neither all inclusive nor necessarily up to… …   Wikipedia

  • SQL injection — A SQL injection is often used to attack the security of a website by inputting SQL statements in a web form to get a badly designed website in order to dump the database content to the attacker. SQL injection is a code injection technique that… …   Wikipedia

  • Backup — For other uses of Backup , see Backup (disambiguation). In information technology, a backup or the process of backing up is making copies of data which may be used to restore the original after a data loss event. The verb form is back up in two… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”