Click here to Skip to main content
15,918,516 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL Application - stuck on the way I should update my Table Pin
Mycroft Holmes19-Jan-10 10:39
professionalMycroft Holmes19-Jan-10 10:39 
QuestionQuestion about simple pattern recognition (hopefully the solution is simple too...) Pin
James Shao17-Jan-10 22:24
James Shao17-Jan-10 22:24 
AnswerRe: Question about simple pattern recognition (hopefully the solution is simple too...) Pin
Mycroft Holmes18-Jan-10 11:10
professionalMycroft Holmes18-Jan-10 11:10 
GeneralRe: Question about simple pattern recognition (hopefully the solution is simple too...) Pin
Luc Pattyn18-Jan-10 11:47
sitebuilderLuc Pattyn18-Jan-10 11:47 
GeneralRe: Question about simple pattern recognition (hopefully the solution is simple too...) Pin
James Shao18-Jan-10 12:43
James Shao18-Jan-10 12:43 
AnswerRe: Question about simple pattern recognition (hopefully the solution is simple too...) Pin
i.j.russell18-Jan-10 11:48
i.j.russell18-Jan-10 11:48 
GeneralRe: Question about simple pattern recognition (hopefully the solution is simple too...) Pin
James Shao18-Jan-10 22:00
James Shao18-Jan-10 22:00 
GeneralRe: Question about simple pattern recognition (hopefully the solution is simple too...) Pin
i.j.russell18-Jan-10 23:38
i.j.russell18-Jan-10 23:38 
You're welcome.

It took me more time to type in the sample code than it did to work out how to to it and run it. Shucks | :-\

The Entity-Attribute-Value (EAV) pattern is one that is well known in database design. Many people have tried to use it instead of the standard normalized approach. It is not generally something that I would recommend but it suits your requirements perfectly.

One thing to remember is to have a Clustered Index on the ObjectId and AttributeId to prevent table scans. This isn't really an issue with small data sets but will become an issue when you have more objects and attributes.

Ian
QuestionHow to Import many excel Files to sql server 2005? Pin
caiguosen17-Jan-10 3:31
caiguosen17-Jan-10 3:31 
AnswerRe: How to Import many excel Files to sql server 2005? Pin
Eddy Vluggen17-Jan-10 6:13
professionalEddy Vluggen17-Jan-10 6:13 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
caiguosen20-Jan-10 23:49
caiguosen20-Jan-10 23:49 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
Eddy Vluggen21-Jan-10 0:11
professionalEddy Vluggen21-Jan-10 0:11 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
caiguosen21-Jan-10 0:58
caiguosen21-Jan-10 0:58 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
Eddy Vluggen21-Jan-10 1:25
professionalEddy Vluggen21-Jan-10 1:25 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
caiguosen23-Jan-10 21:50
caiguosen23-Jan-10 21:50 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
Eddy Vluggen24-Jan-10 1:47
professionalEddy Vluggen24-Jan-10 1:47 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
caiguosen24-Jan-10 2:05
caiguosen24-Jan-10 2:05 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
Eddy Vluggen24-Jan-10 4:54
professionalEddy Vluggen24-Jan-10 4:54 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
caiguosen24-Jan-10 16:23
caiguosen24-Jan-10 16:23 
Questionfixing table for looping through checkboxlist. Pin
macupryk16-Jan-10 12:18
macupryk16-Jan-10 12:18 
GeneralThe Secret $5680 in 24 Hour Strategy Pin
mFarooq7215-Jan-10 14:38
mFarooq7215-Jan-10 14:38 
GeneralRe: The Secret $5680 in 24 Hour Strategy Pin
Mycroft Holmes15-Jan-10 16:27
professionalMycroft Holmes15-Jan-10 16:27 
QuestionUsing table Variables Create outside a UDF inside a UDF Pin
Vimalsoft(Pty) Ltd15-Jan-10 1:08
professionalVimalsoft(Pty) Ltd15-Jan-10 1:08 
AnswerRe: Using table Variables Create outside a UDF inside a UDF Pin
Mycroft Holmes15-Jan-10 16:33
professionalMycroft Holmes15-Jan-10 16:33 
GeneralRe: Using table Variables Create outside a UDF inside a UDF Pin
Vimalsoft(Pty) Ltd16-Jan-10 20:01
professionalVimalsoft(Pty) Ltd16-Jan-10 20:01 

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.