Click here to Skip to main content
15,903,012 members
Home / Discussions / Database
   

Database

 
Questionproblems Pin
pancakeleh27-Dec-10 18:00
pancakeleh27-Dec-10 18:00 
AnswerRe: problems Pin
RaviRanjanKr27-Dec-10 18:22
professionalRaviRanjanKr27-Dec-10 18:22 
AnswerCrosspost Pin
thatraja27-Dec-10 18:47
professionalthatraja27-Dec-10 18:47 
Questiondesigning this database .... ?! Pin
mrkeivan27-Dec-10 17:55
mrkeivan27-Dec-10 17:55 
Answer404 Pin
Hiren solanki27-Dec-10 23:51
Hiren solanki27-Dec-10 23:51 
GeneralRe: 404 Pin
Chris C-B28-Dec-10 5:20
Chris C-B28-Dec-10 5:20 
GeneralRe: 404 Pin
mrkeivan28-Dec-10 8:02
mrkeivan28-Dec-10 8:02 
AnswerRe: 404 Pin
Chris C-B28-Dec-10 19:35
Chris C-B28-Dec-10 19:35 
Well, I wouldn't tackle the problem that way at all. Assuming you are using a 'grown up' database, and you don't have millions of records under 'Electronics', then I would just have two tables.

The first would hold the records of all the 'Electronics' items, with a 'Category' column containing a unique code for TV, DVD player and so on. Other than the essential columns, like Name etc, I would have Descr1, Descr2, Value1, Value2, etcetera, enough to accommodate the most complex item. Some columns would have normal names, for instance, 'Price', or 'Cost'.

The second table would reference the first through the Category Code, have the same columns and column headers as the first table, but the rows would each contain descriptive values for the equivalent column headers in the first table.
GeneralRe: 404 Pin
Hiren solanki28-Dec-10 18:43
Hiren solanki28-Dec-10 18:43 
QuestionError using BCP via commandline, same comman did work last week. Pin
wizardzz27-Dec-10 9:34
wizardzz27-Dec-10 9:34 
AnswerRe: Error using BCP via commandline, same comman did work last week. Pin
wizardzz27-Dec-10 10:07
wizardzz27-Dec-10 10:07 
GeneralRe: Error using BCP via commandline, same comman did work last week. Pin
Dr.Walt Fair, PE27-Dec-10 13:51
professionalDr.Walt Fair, PE27-Dec-10 13:51 
Questionabout how ebay categories are designed in DB Pin
mrkeivan27-Dec-10 9:16
mrkeivan27-Dec-10 9:16 
AnswerRe: about how ebay categories are designed in DB Pin
Dr.Walt Fair, PE27-Dec-10 15:22
professionalDr.Walt Fair, PE27-Dec-10 15:22 
GeneralRe: about how ebay categories are designed in DB Pin
mrkeivan27-Dec-10 17:49
mrkeivan27-Dec-10 17:49 
QuestionTranspose in SQL 2k5 Pin
Abdul Rahman Hamidy25-Dec-10 18:18
Abdul Rahman Hamidy25-Dec-10 18:18 
AnswerRe: Transpose in SQL 2k5 Pin
PIEBALDconsult26-Dec-10 5:01
mvePIEBALDconsult26-Dec-10 5:01 
GeneralRe: Transpose in SQL 2k5 Pin
Abdul Rahman Hamidy26-Dec-10 20:47
Abdul Rahman Hamidy26-Dec-10 20:47 
AnswerRe: Transpose in SQL 2k5 Pin
Hiren solanki26-Dec-10 19:05
Hiren solanki26-Dec-10 19:05 
GeneralRe: Transpose in SQL 2k5 Pin
Abdul Rahman Hamidy26-Dec-10 20:49
Abdul Rahman Hamidy26-Dec-10 20:49 
GeneralRe: Transpose in SQL 2k5 Pin
Hiren solanki26-Dec-10 20:50
Hiren solanki26-Dec-10 20:50 
QuestionINSERT QUERY NOT WORKING Pin
mjawadkhatri24-Dec-10 23:59
mjawadkhatri24-Dec-10 23:59 
AnswerRe: INSERT QUERY NOT WORKING Pin
TweakBird25-Dec-10 2:37
TweakBird25-Dec-10 2:37 
AnswerRe: INSERT QUERY NOT WORKING Pin
PIEBALDconsult25-Dec-10 5:37
mvePIEBALDconsult25-Dec-10 5:37 
GeneralRe: INSERT QUERY NOT WORKING Pin
Luc Pattyn25-Dec-10 6:30
sitebuilderLuc Pattyn25-Dec-10 6:30 

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.