Commit d1e7a773 authored by unknown's avatar unknown

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

into teton.kitebird.com:/home/paul/mysql-4.0


Docs/manual.texi:
  Auto merged
parents 65679bc6 cd9643f3
...@@ -38002,8 +38002,8 @@ To get better control over the insertion process, it may be good to insert ...@@ -38002,8 +38002,8 @@ To get better control over the insertion process, it may be good to insert
big tables in pieces: big tables in pieces:
@example @example
INSERT INTO newtable SELECT * FROM oldtable WHERE yourkey > something INSERT INTO newtable SELECT * FROM oldtable
AND yourkey <= somethingelse; WHERE yourkey > something AND yourkey <= somethingelse;
@end example @end example
After all data has been inserted you can rename the tables. After all data has been inserted you can rename the tables.
...@@ -38036,10 +38036,11 @@ constraints to guard the integrity of your data. ...@@ -38036,10 +38036,11 @@ constraints to guard the integrity of your data.
The syntax of a foreign key constraint definition in InnoDB: The syntax of a foreign key constraint definition in InnoDB:
@example @example
FOREIGN KEY (index_col_name, ...) REFERENCES table_name (index_col_name, ...) FOREIGN KEY (index_col_name, ...)
REFERENCES table_name (index_col_name, ...)
@end example @end example
Starting from version 3.23.50 the InnoDB parser allows you to Starting from version 3.23.50 the InnoDB parser allows you to
use also backquotes around table and column names in the above use backquotes (`) around table and column names in the above
definition. definition.
An example: An example:
...@@ -38064,7 +38065,8 @@ formed for the altered table. ...@@ -38064,7 +38065,8 @@ formed for the altered table.
Starting from version 3.23.50 InnoDB allows you to add a new Starting from version 3.23.50 InnoDB allows you to add a new
foreign key constraint to a table through foreign key constraint to a table through
@example @example
ALTER TABLE yourtablename ADD CONSTRAINT FOREIGN KEY (...) REFERENCES anothertablename(...) ALTER TABLE yourtablename
ADD CONSTRAINT FOREIGN KEY (...) REFERENCES anothertablename(...)
@end example @end example
Remember to create the required indexes first, though. Remember to create the required indexes first, though.
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