Commit db9be364 authored by unknown's avatar unknown

Merge work.mysql.com:/home/bk/mysql-4.0/

into george.bitbike.com:/home/arjen/mysql-4.0


Docs/manual.texi:
  Auto merged
parents b4f353d1 ba607688
...@@ -5658,7 +5658,7 @@ Our main download mirror is located at: ...@@ -5658,7 +5658,7 @@ Our main download mirror is located at:
@uref{http://mirrors.sunsite.dk/mysql/} @uref{http://mirrors.sunsite.dk/mysql/}
If you are interested in becoming a MySQL mirror site, you may If you are interested in becoming a MySQL mirror site, you may
anonymously rsync with: @code{rsync://sunsite.dk/ftp/mirrors/mysql/}. Please anonymously rsync with: @code{rsync://sunsite.dk/mysql/}. Please
send e-mail to @email{webmaster@@mysql.com} notifying us of your mirror to be send e-mail to @email{webmaster@@mysql.com} notifying us of your mirror to be
added to the following list. added to the following list.
...@@ -13662,10 +13662,13 @@ The @code{AUTO_INCREMENT} attribute can be used to generate an unique ...@@ -13662,10 +13662,13 @@ The @code{AUTO_INCREMENT} attribute can be used to generate an unique
identity for new rows: identity for new rows:
@example @example
CREATE TABLE animals (id MEDIUMINT NOT NULL AUTO_INCREMENT, CREATE TABLE animals (
name CHAR(30) NOT NULL, PRIMARY KEY (id)); id MEDIUMINT NOT NULL AUTO_INCREMENT,
name CHAR(30) NOT NULL,
PRIMARY KEY (id)
);
INSERT INTO animals (name) VALUES ("dog"),("cat"),("penguin"), INSERT INTO animals (name) VALUES ("dog"),("cat"),("penguin"),
("lax"),("whale"); ("lax"),("whale");
SELECT * FROM animals; SELECT * FROM animals;
Which returns: Which returns:
...@@ -13688,11 +13691,13 @@ value for the autoincrement column is calculated as ...@@ -13688,11 +13691,13 @@ value for the autoincrement column is calculated as
useful when you want to put data into ordered groups. useful when you want to put data into ordered groups.
@example @example
CREATE TABLE animals (grp ENUM('fish','mammal','bird') NOT NULL, CREATE TABLE animals (
id MEDIUMINT NOT NULL AUTO_INCREMENT grp ENUM('fish','mammal','bird') NOT NULL,
PRIMARY KEY (grp,id)); id MEDIUMINT NOT NULL AUTO_INCREMENT,
PRIMARY KEY (grp,id)
);
INSERT INTO animals (grp,name) VALUES("mammal","dog"),("mammal","cat"), INSERT INTO animals (grp,name) VALUES("mammal","dog"),("mammal","cat"),
("bird","penguin"),("fish","lax"),("mammal","whale"); ("bird","penguin"),("fish","lax"),("mammal","whale");
SELECT * FROM animals ORDER BY grp,id; SELECT * FROM animals ORDER BY grp,id;
Which returns: Which returns:
...@@ -48923,8 +48928,9 @@ By Steve Shreeve. ...@@ -48923,8 +48928,9 @@ By Steve Shreeve.
Perl program to convert Oracle databases to MySQL. Has same Perl program to convert Oracle databases to MySQL. Has same
output format as mysqldump. By Johan Andersson. output format as mysqldump. By Johan Andersson.
@item @uref{http://www.mysql.com/Downloads/Contrib/excel2mysql.pl} @item @uref{http://www.mysql.com/Downloads/Contrib/excel2mysql}
Perl program to import Excel spreadsheets into a MySQL database. By Stephen Hurd @email{shurd@@sk.sympatico.ca} Perl program to import Excel spreadsheets into a MySQL database.
By Stephen Hurd @email{shurd@@sk.sympatico.ca}
@item @uref{http://www.mysql.com/Downloads/Contrib/T2S_100.ZIP}. @item @uref{http://www.mysql.com/Downloads/Contrib/T2S_100.ZIP}.
Windows program to convert text files to MySQL databases. By Windows program to convert text files to MySQL databases. By
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment