Re: table data link - "add extra field" vs "new table with a key"

From: R Reyes (RReyes_at_discussions.microsoft.com)
Date: 02/22/05


Date: Tue, 22 Feb 2005 10:47:06 -0800

ok. thanks!

"David Gugick" wrote:

> R Reyes wrote:
> > thanks for responding.
> >
> > sry if i wasn't clear. these images will not be stored inside the
> > database. they will be on the server with the photo's filepath stored
> > in the database column/field.
> >
> > the 30 columns in TBL_CLIENT i referred to are not picture related.
> > they are the clients info such as name, address, phone etc...i just
> > meant to ask if it would be bad to add the photopath column/field a
> > table that already has 30 columns/fields in it, not to add 30 picture
> > path columns/fields.
> >
> > it sounds like i should just add the column/field to TBL_CLIENT with
> > the photo path stored. i asked about the other solution to add a
> > completely new table (TBL_CLIENTPICTURES) with a key because i wanted
> > to see if it wasn't a recommended solution but, i guess it's really
> > fine either way. do you have any comments or objections to using the
> > 2nd solution?
> >
>
> You were clear and my answers were as you requested. Maybe my response
> wasn't completely clear, however. I stick by my original statements:
> What does the database design say about this column? And 30 columns may
> or may not be a lot, depending on what the table looks like. Using a 1:1
> table is employed often, but mostly to remove columns from the parent
> table that may not always be filled in. Many database designs pull the
> address and other contact information out into other tables. That may,
> or may not be appropriate in your case, but it does lend to itself to a
> more flexible design (a client can have zero or more addresses of
> different types, a client can have zero or more contact numbers of
> different types, a client can have zero or more pictures associated with
> their account, etc.)
>
> It also depends on how large the columns are. SQL Server has an 8060
> byte limit for a row size. And large row sizes generally have a negative
> impact on performance.
>
>
> --
> David Gugick
> Imceda Software
> www.imceda.com
>
>



Relevant Pages

  • Re: table data link - "add extra field" vs "new table with a key"
    ... > thanks for responding. ... > in the database column/field. ... a client can have zero or more contact numbers of ...
    (microsoft.public.sqlserver.programming)
  • Re: A/B split testing on PHP built website
    ... responding. ... Ah well,prior to programming, I had quite a lengthy spell in Marketing ... However, if he wants to do something like that, a random A/B split is ... And randomly changing between two sites is even worse - it looks like your client can't make up his mind which he wants. ...
    (comp.lang.php)
  • Re: Trial delays: discovery? Usual thing?
    ... arrested on premises at three am when we were responding to the silent ... His client immediately stated, "But I _am_ guilty. ... Once I was on a jury where the defendant had been witnessed by ... That was why the desperate defense. ...
    (rec.arts.mystery)
  • Re: Retrospect 525 Error
    ... Norm wrote: ... It sometimes says it is Responding ... number of the Client and says "found backup client" ... believe I set it to Never sleep the computer but set a time for Display ...
    (comp.sys.mac.apps)
  • Re: Can you reset a client connecting to a remote Site DC back to
    ... Thanks for responding, but your response doesn't answer the questions. ... However, if the local Site DC's don't respond within 100ms, but responds ... Finally - going back to the original post - is there a way to force a client ... > As to the cache length, this would be only tied to the local DNS cache as it ...
    (microsoft.public.win2000.active_directory)