| | |
how to create table relate with other table
Please support our MySQL advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
0
#2 Oct 6th, 2009
Might want to take a look in your textbook or around the MySQL documentation before you start asking homework questions without showing work.
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r y+
PMs asking for help will not be answered, post on the forums. That's what they're there for.
-1
#4 Oct 7th, 2009
http://dev.mysql.com/doc/refman/5.1/...nstraints.html Check for foreign key constraints, primary key, foreign key in google.
•
•
•
•
From the above link:
InnoDB rejects any INSERT or UPDATE operation that attempts to create a foreign key value in a child table if there is no a matching candidate key value in the parent table.
Ignorance is definitely not bliss!
*PM asking for help will be ignored*
*PM asking for help will be ignored*
•
•
Join Date: Oct 2009
Posts: 6
Reputation:
Solved Threads: 0
•
•
•
•
http://dev.mysql.com/doc/refman/5.1/...nstraints.html Check for foreign key constraints, primary key, foreign key in google.
![]() |
Similar Threads
- Copy records from one table to samme table in another sql server (MS SQL)
- create a nested table with javascript (JavaScript / DHTML / AJAX)
- Fact and Dimension Table (Database Design)
- How do I relate one table to many different tables? (Database Design)
- using a variable to name the table in the CREATE TABLE function (PHP)
- Create an extra table (copy the columns and new table) for every existing table (MS SQL)
- Create table 1 to 100 using java script (JavaScript / DHTML / AJAX)
- CSS -- table border and table header color (HTML and CSS)
Other Threads in the MySQL Forum
- Previous Thread: Recent Interview Question
- Next Thread: Help with generating a unique number
| Thread Tools | Search this Thread |
agplv3 alfresco amazon api artisticlicense aws bizspark breathalyzer camparingtocolumns changingprices cmg communityjournalism contentmanagement contractors copyright count court crm database design developer development distinct drupal dui ec2 email enterprise eudora facebook form foss gartner government gpl greenit groklaw groupware hiring hyperic images innerjoins insert ip joebrockmeier join journalism keyword keywords kickfire laptop law legal license licensing linux maintenance managing mariadb matchingcolumns metron micromanage microsoft mindtouch montywidenius mozilla multiple music mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery news open-xchange opendatabasealliance opengovernment opensource oracle penelope php priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint simpledb sourcecode spotify sql sugarcrm syntax techsupport thunderbird transparency virtualization






