Click here to Skip to main content
15,892,839 members
Home / Discussions / Database
   

Database

 
QuestionCannot insert duplicate key row in object Pin
Ballita5-Jun-08 19:03
Ballita5-Jun-08 19:03 
AnswerRe: Cannot insert duplicate key row in object Pin
Alsvha5-Jun-08 19:17
Alsvha5-Jun-08 19:17 
AnswerRe: Cannot insert duplicate key row in object Pin
Blue_Boy5-Jun-08 20:40
Blue_Boy5-Jun-08 20:40 
QuestionMagic & SQL server Pin
E_Gold5-Jun-08 9:58
E_Gold5-Jun-08 9:58 
AnswerRe: Magic & SQL server Pin
Marek Grzenkowicz6-Jun-08 23:42
Marek Grzenkowicz6-Jun-08 23:42 
QuestionHow to use Distinct from the Following Query Pin
Vimalsoft(Pty) Ltd5-Jun-08 8:20
professionalVimalsoft(Pty) Ltd5-Jun-08 8:20 
AnswerRe: How to use Distinct from the Following Query Pin
Rutvik Dave5-Jun-08 11:04
professionalRutvik Dave5-Jun-08 11:04 
QuestionA Database Design Problem - Catalogue Pin
Cristoff5-Jun-08 1:46
Cristoff5-Jun-08 1:46 
I'll try to describe my problem. I'm trying to make a program that will display online the articles that are on stock in our company. All these things have completely different properties, so they cannot be put in the same table.

Just to illustrate: Let's say I'm trying to combine apples, oranges, sports cars and rockets. First ones have sorts, cars have horse powers and gas engines and rockets... it doesn't matter. All these are articles/products.

I my case I'm talking about resistors, capacitors, CPU s, micro controllers, LCDs, aluminum boxes, light diodes, electronic units, etc. As you see all these should belong to different product categories and each category in a separate table.

And also this is my very database first project and it turned out to be much more complex than I've anticipated initially. I've searched a lot of DB examples but I cannot find any similar scenario.

Please give me an idea how to approach this problem! Is it possible to use the standard approach - product table - categories tables or such relation is impossible?
The only idea I have so far is to create different tables for each category and to keep them separated and the link between them to be on the application level and not on the SQL database level.

WTF | :WTF:

Thank you for reading all that! Blush | :O
AnswerRe: A Database Design Problem - Catalogue Pin
Mike Dimmick5-Jun-08 1:58
Mike Dimmick5-Jun-08 1:58 
GeneralRe: A Database Design Problem - Catalogue Pin
Cristoff5-Jun-08 2:52
Cristoff5-Jun-08 2:52 
AnswerRe: A Database Design Problem - Catalogue Pin
ChandraRam5-Jun-08 2:04
ChandraRam5-Jun-08 2:04 
GeneralRe: A Database Design Problem - Catalogue Pin
Cristoff5-Jun-08 2:46
Cristoff5-Jun-08 2:46 
GeneralRe: A Database Design Problem - Catalogue Pin
ChandraRam5-Jun-08 7:37
ChandraRam5-Jun-08 7:37 
GeneralRe: A Database Design Problem - Catalogue Pin
Cristoff6-Jun-08 4:49
Cristoff6-Jun-08 4:49 
QuestionHow to combine 3 tables with Joins? Pin
Michiel5-Jun-08 1:21
Michiel5-Jun-08 1:21 
AnswerRe: How to combine 3 tables with Joins? Pin
Parwej Ahamad5-Jun-08 6:02
professionalParwej Ahamad5-Jun-08 6:02 
GeneralRe: How to combine 3 tables with Joins? Pin
Michiel5-Jun-08 21:27
Michiel5-Jun-08 21:27 
QuestionTableAdapters with Relation Pin
RoyRose785-Jun-08 0:55
RoyRose785-Jun-08 0:55 
AnswerRe: TableAdapters with Relation Pin
John_Adams5-Jun-08 6:16
John_Adams5-Jun-08 6:16 
QuestionQuery Problem Pin
H.A.Faheem4-Jun-08 20:21
H.A.Faheem4-Jun-08 20:21 
AnswerRe: Query Problem Pin
Alsvha4-Jun-08 20:31
Alsvha4-Jun-08 20:31 
GeneralRe: Query Problem Pin
H.A.Faheem4-Jun-08 20:33
H.A.Faheem4-Jun-08 20:33 
GeneralRe: Query Problem Pin
Alsvha4-Jun-08 23:59
Alsvha4-Jun-08 23:59 
QuestionSpliting a table. Pin
devboycpp4-Jun-08 9:36
devboycpp4-Jun-08 9:36 
AnswerRe: Spliting a table. Pin
Member 33013254-Jun-08 9:56
Member 33013254-Jun-08 9:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.