Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0da2bd07
Commit
0da2bd07
authored
Mar 27, 2002
by
arjen@fred.bitbike.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-fixup of line length in InnoDB examples. Should be <76.
parent
ad2d6400
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
36 deletions
+38
-36
Docs/manual.texi
Docs/manual.texi
+38
-36
No files found.
Docs/manual.texi
View file @
0da2bd07
...
@@ -38000,8 +38000,8 @@ To get better control over the insertion process, it may be good to insert
...
@@ -38000,8 +38000,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.
...
@@ -38034,10 +38034,11 @@ constraints to guard the integrity of your data.
...
@@ -38034,10 +38034,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:
...
@@ -38062,7 +38063,8 @@ formed for the altered table.
...
@@ -38062,7 +38063,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.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment