dbTalk Databases Forums  

Adding a column to an existing table with data

comp.database.ms-access comp.database.ms-access


Discuss Adding a column to an existing table with data in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Raj
 
Posts: n/a

Default Adding a column to an existing table with data - 02-11-2004 , 01:05 PM






Hi,
I am trying to add some more information to the table which already
has a lot a data (like 2-3000 records). The new information may be
adding 2-3 new columns worth. Now my questions are:
(1)Is it a good idea to add new columns to the existing table? then it
will create these new columns for all old records, will it not result
in wasting a lot of space??
(2)Is it a good idea to create a new table with the new information
and have as a forign key the index value from the first table?
There may be answers to these questions already in some threads but
since I dont have much time I thought I will post it again, if these
are already answered by someone could someone point me there? any help
would be appreciated, thanks,
raj.

Reply With Quote
  #2  
Old   
Ira Solomon
 
Posts: n/a

Default Re: Adding a column to an existing table with data - 02-12-2004 , 08:24 PM






Just add the columns. Yes you could add another table, but, unless
the normalization rules require it, don't. Speed is more important
than space. Empty text fields take little space in any event.

Good luck
Ira Solomon


IOn 11 Feb 2004 11:05:08 -0800, envynr (AT) yahoo (DOT) com (Raj) wrote:

Quote:
Hi,
I am trying to add some more information to the table which already
has a lot a data (like 2-3000 records). The new information may be
adding 2-3 new columns worth. Now my questions are:
(1)Is it a good idea to add new columns to the existing table? then it
will create these new columns for all old records, will it not result
in wasting a lot of space??
(2)Is it a good idea to create a new table with the new information
and have as a forign key the index value from the first table?
There may be answers to these questions already in some threads but
since I dont have much time I thought I will post it again, if these
are already answered by someone could someone point me there? any help
would be appreciated, thanks,
raj.


Reply With Quote
  #3  
Old   
Raj
 
Posts: n/a

Default Re: Adding a column to an existing table with data - 02-16-2004 , 01:53 PM



Thanks for replying..
So, even if the table has more than 40 columns already and also lots
of data(like 3-4000 records) do you still feel adding more columns to
the same table is a good idea than adding a whole new table??
Sorry if my questions are of basic type, I dont have a very structure
background in databases, could you point me to some usefull
information in this regard??
Thanks,
Raj.


Ira Solomon <isolomon (AT) solomonltd (DOT) com> wrote

Quote:
Just add the columns. Yes you could add another table, but, unless
the normalization rules require it, don't. Speed is more important
than space. Empty text fields take little space in any event.

Good luck
Ira Solomon


IOn 11 Feb 2004 11:05:08 -0800, envynr (AT) yahoo (DOT) com (Raj) wrote:

Hi,
I am trying to add some more information to the table which already
has a lot a data (like 2-3000 records). The new information may be
adding 2-3 new columns worth. Now my questions are:
(1)Is it a good idea to add new columns to the existing table? then it
will create these new columns for all old records, will it not result
in wasting a lot of space??
(2)Is it a good idea to create a new table with the new information
and have as a forign key the index value from the first table?
There may be answers to these questions already in some threads but
since I dont have much time I thought I will post it again, if these
are already answered by someone could someone point me there? any help
would be appreciated, thanks,
raj.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.