-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Add and Delete Linking Tables
PostPosted: Tue Feb 14, 2006 5:05 am 
Newbie

Joined: Wed Feb 08, 2006 4:10 am
Posts: 16
if i have 3 tables which are(Customer, Address, Contact), and these 3 tables have the connection as:
Customer have PK 'ID' column which allow Address table using the FK 'CustID' to refer the customer table, and Address PK 'ID' allow contact to refer using FK 'AddressID'
Customer->Address->Contact
ID->CustID,ID->AddressID

i want to create that these three tables can add the data at the same time,how can i do it?because when at the same time Address table need to add the CustID and Contact table also need to add in AddressID while we want to add Customer infor at the same time.

if want to delete how we going to delete the tables information because they have a connection in between these tables?

Pls advise...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.