Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 31st, 2004, 04:15 PM
Registered User
 
Join Date: Jul 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default MS SQL Server: How do i retrive markets/categories

hello
i Have 2 tables in my SQL server database.

1. Markets e.g computer, electronics toys etc
2. Products e.g. laptops, nokia, ssl certs etc

Now i would like to create a market like ebay, MSN yahoo shopping e.g. http://shopping.yahoo.com

In my products table, i have a;
1. products which is the Primary key
2. and market which is the Foreign key

* the market table just has the market type which is the primary key and description. this primary key is the foreign key reference in the products table.

I would want to retrieve data based on market types e.g.

COMPUTING AND THE INTERNET
laptops, desktops, web hosting etc

ELECTRONICS
Digital Cameras, TVs, Cell Phones, More...

VIDEO GAMES

PS2, Xbox, Game Boy Advance, Consoles, More...

how do i write a query to do this or the necessary script? see examples at
http://shopping.yahoo.com or http://shopping.msn.com

thank you
1newday

:):D

 
Old August 5th, 2004, 11:41 AM
Authorized User
 
Join Date: Jun 2003
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What platform do you use for developing the site? (asp.net, php, asp, jsp)
You're trying to build this functionality into a site, don't you? (it could be a windows app)





Similar Threads
Thread Thread Starter Forum Replies Last Post
How Run .sql Script file in MS SQL Server 2000? aarkaycee SQL Server 2000 5 October 12th, 2009 05:43 AM
MS SQL Server license dk6607 SQL Server 2005 1 February 7th, 2008 07:32 PM
MS ACCESS 2003 FRONTEND AND MS SQL SERVER 2005 DB mohankumar0709 SQL Server 2005 3 March 23rd, 2007 12:48 AM
MS SQL Server Replication rodmcleay SQL Server 2000 2 August 12th, 2004 02:33 AM
Hexadecimal numbers in MS SQL Server 7 notChavez SQL Server 2000 3 June 19th, 2003 08:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.