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
dba38685
Commit
dba38685
authored
Oct 02, 2002
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manual.texi:
InnoDB does allow a foreign key constraint name to be specified
parent
89a61ccd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Docs/manual.texi
Docs/manual.texi
+2
-2
No files found.
Docs/manual.texi
View file @
dba38685
...
@@ -39260,7 +39260,7 @@ constraints to guard the integrity of your data.
...
@@ -39260,7 +39260,7 @@ 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, ...)
[CONSTRAINT symbol]
FOREIGN KEY (index_col_name, ...)
REFERENCES table_name (index_col_name, ...)
REFERENCES table_name (index_col_name, ...)
[ON DELETE CASCADE | ON DELETE SET NULL]
[ON DELETE CASCADE | ON DELETE SET NULL]
@end example
@end example
...
@@ -39319,7 +39319,7 @@ Starting from version 3.23.50 InnoDB allows you to add a new
...
@@ -39319,7 +39319,7 @@ 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
ALTER TABLE yourtablename
ADD CONSTRAINT
FOREIGN KEY (...) REFERENCES anothertablename(...)
ADD [CONSTRAINT symbol]
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