|
First question:NO. Every table should have a primary key defined.
Is it a good standard practice to create the table with no keys and use
the Create Index?
Second question:
The table I want to replace is a comment file that has the comments broken
into 50 char chunks.
The user enters 50 char at a time, hits enter to add the record, tries to
remember where they left off and continues to add.
What a mess. It was created in 1989.
I created a new pgm that splices all the 50 char records together,
displays a single 2400 char field that they can add to and insert into the
middle of. I then re-parse the field into 50 char chunks again.
There are about 25 million records with the 50 char comment.
In the new table it will have a 2400 varchar field. I would guess that
90%+ of the records will not ever be displayed again.
For the Allocate clause should I still use the average length of the real
comment, say 150 or leave it at 0?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.