Database dump: Difference between revisions

Content deleted Content added
ZéroBot (talk | contribs)
m r2.7.1) (Robot: Adding nl:Databasedump
Example: - I cannot get this to work without backticks. They are required according to the documentation: http://dev.mysql.com/doc/refman/5.0/en/identifiers.html
Line 6:
<source lang="sql">
-- 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');
</source>