User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 456,277 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,207 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser: Programming Forums

Novice Table Relation Question

Join Date: Jun 2007
Posts: 8
Reputation: simward is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
simward simward is offline Offline
Newbie Poster

Re: Novice Table Relation Question

  #12  
Jul 5th, 2007
Originally Posted by DenisOxon View Post
Hi,

One way would be to

a) add customer id to order table - at moment you are not linking order to customr.

b) build another table called orderdetails which has following fields
idOrder, idProduct, Serial number (one record per item)

Good luck

Denis


K i see this working if i would order 1 product per order.... The issue is orders can contain 10 DVD burners and each burner has his unique serial....

OR! i could just put the serial number field as a longtext and store the serials in there.... But i doubt its the best solution....
Last edited by simward : Jul 5th, 2007 at 2:30 pm. Reason: Added something
Reply With Quote  
All times are GMT -4. The time now is 6:49 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC