Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is this possible with SQL Server?
#1
Hi.

I want to creat a database with catagories and sub-Catagories and want to know if it is possible to do the following?

I'll try and explain what i want to do the best i can.

In my database i want catagories and sub-catagories.

Lets say the user added a catagory called 'Electrical' and a sub-catagory called 'Fan' another catagory call 'Vegitation' and a sub-catagory called 'Bushes'.

Anything to do with 'Electrical'- 'Fan' goes under this and anything to do with 'Vegitation' 'Bushes' goes under this.

So i would end up with something like this?

Catagory: Sub-Catagory: Information:
Electrical - Fan Fan information
Electrical - Kettle Kettle info

Vegitation - Bushes Bushes info
Vegitation - Trees Tree info

So if i want to store anything Electrical will go under Electrical and any thing to do with Vegitation will go under Vegitation. ect, ect.

I am using VB.Net 2012 and have created my table.

Many thanks for you help.

Regards

Worf
#2
Wahat you explained is very posible and its called Table Relationship.I cannot explain it in words cuz it will take me all day to type but just watch this tutorial and you will understand how it works
http://www.youtube.com/watch?v=8Ar12QnUwhs
http://www.youtube.com/watch?v=uKVJOPdgloA
Sssssssssoftware developer...
#3
Thank you Snake_eyes, will have a look.


Possibly Related Threads…
Thread Author Replies Views Last Post
  multiple csv files add sql server tables via VB.NET secilsengul 1 9,974 04-16-2014, 10:27 AM
Last Post: brco900033
  Downloading from FTP server doesn't work brco900033 5 21,847 08-16-2013, 04:32 AM
Last Post: brco900033
  How can I get the server status??? mnxford 5 23,710 03-27-2013, 10:53 AM
Last Post: mnxford
  Sockets Programming(Disconnecting from Server) xolara 1 9,431 04-06-2012, 01:47 PM
Last Post: brandonio21

Forum Jump:


Users browsing this thread: 1 Guest(s)