Click here to Skip to main content
16,009,068 members
Home / Discussions / Database
   

Database

 
AnswerRe: Storing an array in a string or ...? Pin
Luc Pattyn18-Jul-09 0:08
sitebuilderLuc Pattyn18-Jul-09 0:08 
AnswerRe: Storing an array in a string or ...? Pin
riced18-Jul-09 0:29
riced18-Jul-09 0:29 
AnswerRe: Storing an array in a string or ...? Pin
Mycroft Holmes18-Jul-09 15:34
professionalMycroft Holmes18-Jul-09 15:34 
GeneralRe: Storing an array in a string or ...? Pin
Luc Pattyn18-Jul-09 18:03
sitebuilderLuc Pattyn18-Jul-09 18:03 
GeneralRe: Storing an array in a string or ...? Pin
Mycroft Holmes18-Jul-09 22:31
professionalMycroft Holmes18-Jul-09 22:31 
Luc Pattyn wrote:
So the storage break-even would be where 4N=3N+3

I don't think the storage size/fields is relevant these days, I was focused more on the normalisation issue of storing redundant data.

I don't agree with the over normalised point although the additional join has it's issue. Trying to get the number of times a user has voted from the single table structure would be more difficult than with the 2 table approach. I know it was not requested but I can hear his manager (or marketing) asking for the information about 3 weeks after the thing goes live and while the solution is trivial it does highlight the issue.

Nope I'd go for the 2 table approach but acknowledge that neither structure is perfect, thats where the art comes in and while my design may not suit all it would suit me.

Never underestimate the power of human stupidity
RAH

GeneralRe: Storing an array in a string or ...? Pin
Luc Pattyn19-Jul-09 2:24
sitebuilderLuc Pattyn19-Jul-09 2:24 
QuestionSQL High Availabilty Pin
Member 259952517-Jul-09 0:08
Member 259952517-Jul-09 0:08 
QuestionDISTINCT and MAX in SQL Query Pin
jishbalan16-Jul-09 20:34
jishbalan16-Jul-09 20:34 
AnswerRe: DISTINCT and MAX in SQL Query Pin
vica dianto16-Jul-09 20:49
vica dianto16-Jul-09 20:49 
AnswerRe: DISTINCT and MAX in SQL Query Pin
abcurl17-Jul-09 10:16
abcurl17-Jul-09 10:16 
GeneralRe: DISTINCT and MAX in SQL Query Pin
jishbalan19-Jul-09 18:27
jishbalan19-Jul-09 18:27 
QuestionChange the dataset name in Typed Dataset Pin
Neeraj Kr16-Jul-09 8:20
Neeraj Kr16-Jul-09 8:20 
AnswerRe: Change the dataset name in Typed Dataset Pin
Adam Maras16-Jul-09 8:23
Adam Maras16-Jul-09 8:23 
GeneralRe: Change the database name in Typed Dataset Pin
Neeraj Kr16-Jul-09 8:44
Neeraj Kr16-Jul-09 8:44 
QuestionPassing Arrays to Stored Proc Pin
ferronrsmith16-Jul-09 7:40
ferronrsmith16-Jul-09 7:40 
AnswerRe: Passing Arrays to Stored Proc Pin
Ashfield16-Jul-09 21:01
Ashfield16-Jul-09 21:01 
QuestionDatetime in sqlserver Pin
kurangu16-Jul-09 6:26
kurangu16-Jul-09 6:26 
AnswerRe: Datetime in sqlserver Pin
Neeraj Kr16-Jul-09 8:18
Neeraj Kr16-Jul-09 8:18 
AnswerRe: Datetime in sqlserver Pin
Ashfield16-Jul-09 21:03
Ashfield16-Jul-09 21:03 
GeneralRe: Datetime in sqlserver Pin
dan!sh 17-Jul-09 1:43
professional dan!sh 17-Jul-09 1:43 
GeneralRe: Datetime in sqlserver Pin
David Skelly17-Jul-09 2:05
David Skelly17-Jul-09 2:05 
GeneralRe: Datetime in sqlserver Pin
Ashfield17-Jul-09 8:34
Ashfield17-Jul-09 8:34 
QuestionConverting rows into columns (PIVOT for string values) Pin
Leo Smith16-Jul-09 5:55
Leo Smith16-Jul-09 5:55 
AnswerRe: Converting rows into columns (PIVOT for string values) Pin
Mycroft Holmes17-Jul-09 16:19
professionalMycroft Holmes17-Jul-09 16:19 
QuestionHow to capture sql commands in oracle like sqlprofiler ? Pin
hdv21216-Jul-09 4:18
hdv21216-Jul-09 4:18 

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.