Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Relationship Database help.
#1
Hi

I'm trying to create a database in SQL Server 2012 and Visual Studio 2010.

I have created 3 tables:

Categories - Table 1
Sub-Categories - Table 2
Scripts - Table 3

The Table looks like this:

[Image: serverexplorer.jpg]

As you can see, SubCategoryT has a relationship with CategoriesT & ScriptsT has a relationship with SubCategoryT.

What i can't figure out is what part of the tables do i use as i can't seem to get it to work?.

How i want it to work is like this.

The user creates a Category, lets say 'Electronics' and a Sub-Category 'Motherboard'. All the information entered into table 'ScriptsT' is stored under 'Electronic - Motherboard'. and so on.

Many Thanks for any help.

Regards

Tony


Possibly Related Threads…
Thread Author Replies Views Last Post
  MySQL Database Issue Moldraxian 7 29,041 08-13-2012, 08:58 PM
Last Post: brandonio21
  MySql Database Queries in VB.Net Moldraxian 6 22,372 07-26-2012, 03:44 PM
Last Post: Moldraxian
  Database brco900033 1 8,885 10-12-2011, 12:13 AM
Last Post: xolara
  Bug in How to implement a database Part 3 dafly46543 3 17,604 08-13-2011, 08:01 AM
Last Post: brandonio21
  NEED HELP: LOCAL DATABASE DopeKnight 2 13,597 03-15-2011, 05:44 AM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)