If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > I need some help writing a Stored Procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #16 (permalink)  
Old 09-11-08, 11:59
moss2076 moss2076 is offline
Registered User
 
Join Date: Aug 2004
Posts: 344
Yes stick with Customer from now on, ignore anything to do with stock as posted previously

When (or if) I sort this out I will go back to the stock table at a later date...this is the same issue. Im just going right back to the beginning.

The BookingsID is the primary key field in bookings table.
The CustomerID is the primary key field in the customers table.

CustomerID will be a foreign key in bookingstable. I think I got that right.

Customer
CustomerID (pk)
CustomerName
CustomerAddress

Bookings
BookingsID (pk)
CustomerID
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On