Unix Technical Forum

connect fieldname of tabel A with record 'fieldname' of file B

This is a discussion on connect fieldname of tabel A with record 'fieldname' of file B within the MySQL forums, part of the Database Server Software category; --> I would like to connect a field (name=E_mod) of table A with a record in table B that has ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 11:30 AM
Osiris
 
Posts: n/a
Default connect fieldname of tabel A with record 'fieldname' of file B

I would like to connect a field (name=E_mod) of table A with a record in
table B that has in a varchar field "E_mod". How do I do that ?
It's sort of like a JOIN, but on a different level...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 11:30 AM
Rik Wasmus
 
Posts: n/a
Default Re: connect fieldname of tabel A with record 'fieldname' of file B

On Tue, 11 Dec 2007 10:56:21 +0100, Osiris <et57@hotmail.com> wrote:

> I would like to connect a field (name=E_mod) of table A with a record in
> table B that has in a varchar field "E_mod". How do I do that ?
> It's sort of like a JOIN, but on a different level...


What do you mean exactly by 'connect'? Foreign keys perhaps?
<http://dev.mysql.com/doc/refman/5.0/en/innodb-foreign-key-constraints.html>
--
Rik Wasmus
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 11:30 AM
Osiris
 
Posts: n/a
Default Re: connect fieldname of tabel A with record 'fieldname' of file B

On Tue, 11 Dec 2007 11:09:25 +0100, Rik Wasmus wrote:

> On Tue, 11 Dec 2007 10:56:21 +0100, Osiris <et57@hotmail.com> wrote:
>
>> I would like to connect a field (name=E_mod) of table A with a record in
>> table B that has in a varchar field "E_mod". How do I do that ?
>> It's sort of like a JOIN, but on a different level...

>
> What do you mean exactly by 'connect'? Foreign keys perhaps?
> <http://dev.mysql.com/doc/refman/5.0/en/innodb-foreign-key-constraints.html>


see my next post: "field features..."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:43 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com