Tim,
Tuesday, October 15, 2002, 12:18:43 AM, you wrote:

TK> For example, I have a table ALPHA and a table BRAVO.

TK> ALPHA has a field called STRING1

TK> I want BRAVO to have a field whose contents would be those of ALPHA.STRING1

TK> How do I define this kind of field, so that the content of BRAVO.BLAHBLAH 
TK> would always be ALPHA.STRING1 ?

Take a look at FOREIGN KEY CONSTRAINTS:
     http://www.mysql.com/doc/en/SEC447.html
     http://www.mysql.com/doc/en/ANSI_diff_Foreign_Keys.html
     http://www.mysql.com/doc/en/example-Foreign_keys.html

They are supported on InnoDB tables.


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ma02-010c
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com





---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to