Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 23rd, 2003, 12:57 PM
zaiguy zaiguy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 1 zaiguy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Newbie Design Question

Helping a friend with a legacy e-commerce site, and will be using asp/ms-sql on existing server. Goal is to make site search-capable with stored procedures for preset queries.

If one part number fits different cars (for instance), is this the way one would design the product related tables?

tables.product
product_id (pk)
product_title
product_description
product_image_thumbnail
product_image_fullsize
product_price
product_fitment

tables.fitment
fitment_id (pk)
product_id (fk)
vehicle_make
vehicle_model
vehicle_aspiration

If so, what would be the correct way to query for product information for a particular vehicle make/model/aspiration?

Thanks!
ben

Reply With Quote
  #2  
Old November 24th, 2003, 10:02 PM
alam alam is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 67 alam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 57 m 17 sec
Reputation Power: 5

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Newbie Design Question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway