in reply to Re: SQL question: Insertion with FK constraint
in thread SQL question: Insertion with FK constraint
psini, thank you very much for your reply.. this is actually an example, so there are probably more fields in table2.:)
In fact, even with just two fields, using a separate table sometimes save me lot of disk spaces and time, i.e. if 'property' varchar(20) becomes varchar(250) or text. In fact, I just refactored one of my big table from 4GB to 2.2GB yesterday by such process(normalization). the new table took 4 hours instead of 2 days to build a huge Unique key constraint. :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: SQL question: Insertion with FK constraint
by psini (Deacon) on Jun 26, 2008 at 15:38 UTC |