Loading Docs/manual.texi +38 −36 Original line number Diff line number Diff line Loading @@ -38000,8 +38000,8 @@ To get better control over the insertion process, it may be good to insert big tables in pieces: @example INSERT INTO newtable SELECT * FROM oldtable WHERE yourkey > something AND yourkey <= somethingelse; INSERT INTO newtable SELECT * FROM oldtable WHERE yourkey > something AND yourkey <= somethingelse; @end example After all data has been inserted you can rename the tables. Loading Loading @@ -38034,10 +38034,11 @@ constraints to guard the integrity of your data. The syntax of a foreign key constraint definition in InnoDB: @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 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. An example: Loading @@ -38062,7 +38063,8 @@ formed for the altered table. Starting from version 3.23.50 InnoDB allows you to add a new foreign key constraint to a table through @example ALTER TABLE yourtablename ADD CONSTRAINT FOREIGN KEY (...) REFERENCES anothertablename(...) ALTER TABLE yourtablename ADD CONSTRAINT FOREIGN KEY (...) REFERENCES anothertablename(...) @end example Remember to create the required indexes first, though. Loading
Docs/manual.texi +38 −36 Original line number Diff line number Diff line Loading @@ -38000,8 +38000,8 @@ To get better control over the insertion process, it may be good to insert big tables in pieces: @example INSERT INTO newtable SELECT * FROM oldtable WHERE yourkey > something AND yourkey <= somethingelse; INSERT INTO newtable SELECT * FROM oldtable WHERE yourkey > something AND yourkey <= somethingelse; @end example After all data has been inserted you can rename the tables. Loading Loading @@ -38034,10 +38034,11 @@ constraints to guard the integrity of your data. The syntax of a foreign key constraint definition in InnoDB: @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 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. An example: Loading @@ -38062,7 +38063,8 @@ formed for the altered table. Starting from version 3.23.50 InnoDB allows you to add a new foreign key constraint to a table through @example ALTER TABLE yourtablename ADD CONSTRAINT FOREIGN KEY (...) REFERENCES anothertablename(...) ALTER TABLE yourtablename ADD CONSTRAINT FOREIGN KEY (...) REFERENCES anothertablename(...) @end example Remember to create the required indexes first, though.