I have an Access database with 58 fields in one table. I wrote many
of the field names so that they were descriptive so that others could
figure it out in the future. As an example, one field name is called
MissingPart1499 0aDescribe.
Should I be worried about the length of the field name? I'm expecting
about 20,000 records a year to be entered into the database. So, five
years from now, which would be about 100,000 records, will the
query.asp for a list of records be slow due to field name size? BTW,
the query.asp would just show a list of the last 3 months worth of
records and only a snapshot of about 6 of the 58 fields.
TIA 10 1816
ynott,
Its a very bad idea to add extra columns just for description, Just create a
readme.txt instead were you describe your tables. Else you'll end up with a
really big database with unnecessary information.
columns, not fields.....
Never list more than 100 in a page...... use paging if needed...... and if
your database is going to be that large you might consider using SQL Server
instead.
/Lasse
"ynott" <yn***@hotmail. com> wrote in message
news:77******** *************** *********@4ax.c om... I have an Access database with 58 fields in one table. I wrote many of the field names so that they were descriptive so that others could figure it out in the future. As an example, one field name is called MissingPart1499 0aDescribe.
Should I be worried about the length of the field name? I'm expecting about 20,000 records a year to be entered into the database. So, five years from now, which would be about 100,000 records, will the query.asp for a list of records be slow due to field name size? BTW, the query.asp would just show a list of the last 3 months worth of records and only a snapshot of about 6 of the 58 fields.
TIA
Lasse Edsvik wrote on 07 dec 2004 in
microsoft.publi c.inetserver.as p.general: Its a very bad idea to add extra columns just for description, Just create a readme.txt instead were you describe your tables. Else you'll end up with a really big database with unnecessary information.
columns, not fields.....
Never list more than 100 in a page...... use paging if needed...... and if your database is going to be that large you might consider using SQL Server instead.
"ynott" <yn***@hotmail. com> wrote in message news:77******** *************** *********@4ax.c om... I have an Access database with 58 fields in one table. I wrote many of the field names so that they were descriptive so that others could figure it out in the future. As an example, one field name is called MissingPart1499 0aDescribe.
Should I be worried about the length of the field name? I'm expecting about 20,000 records a year to be entered into the database. So, five years from now, which would be about 100,000 records, will the query.asp for a list of records be slow due to field name size? BTW, the query.asp would just show a list of the last 3 months worth of records and only a snapshot of about 6 of the 58 fields.
[This is what happens with topposting:
ununderstandabl e answers, because you have to scroll down for the
individual questions again and again.
Please use interposting on usenet.]
Records have fields, HTMLtables have rows and columns, Database tables
are a random collection of records, and because of the randomness the
records shouldn't be called rows.
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
Evertjan. wrote: Records have fields, HTMLtables have rows and columns, Database tables are a random collection of records, and because of the randomness the records shouldn't be called rows.
LOL
Try running that statement by Joe Celko and see what happens.
Bob Barrows
PS. You've got it backwards Evertjan.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
ynott wrote: I have an Access database with 58 fields in one table. I wrote many of the field names so that they were descriptive so that others could figure it out in the future. As an example, one field name is called MissingPart1499 0aDescribe.
Should I be worried about the length of the field name? I'm expecting about 20,000 records a year to be entered into the database. So, five years from now, which would be about 100,000 records, will the query.asp for a list of records be slow due to field name size? BTW, the query.asp would just show a list of the last 3 months worth of records and only a snapshot of about 6 of the 58 fields.
TIA
No, the length of the field names should have nothing to do with the speed
of a query. You are increasing the size of the metadata (the description of
the data, technically: "data about data"), which will increase the amount of
network traffic and the amount of resources used to create the recordset to
contain this data. But this will not be dependant on the number of rows in
your table, and with proper bandwidth and good programming techniques, will
not be likely to cause any performance problems.
I'm more concerned about the possibility of bad database design here. What
is the meaning of the "14990a"? It makes it appear as if you are storing
data in your metadata: never a good idea.
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Bob,
LOL, agree....
report him missing if he doesnt post any more on this newsgroup lol
"Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message
news:O9******** ******@TK2MSFTN GP10.phx.gbl... Evertjan. wrote: Records have fields, HTMLtables have rows and columns, Database tables are a random collection of records, and because of the randomness the records shouldn't be called rows.
LOL Try running that statement by Joe Celko and see what happens.
Bob Barrows PS. You've got it backwards Evertjan. -- Microsoft MVP - ASP/ASP.NET Please reply to the newsgroup. This email account is my spam trap so I don't check it very often. If you must reply off-line, then remove the "NO SPAM"
Bob Barrows [MVP] wrote on 07 dec 2004 in
microsoft.publi c.inetserver.as p.general: Bob Barrows PS. You've got it backwards Evertjan.
Bob, I am not going to play the "I am right, you are wrong" game.
Evertjan.
P.S.:
I am right, as long as we are talking 4th generation datavases:
The word "row" implies order. [btw: as do "columns"]
If there are rows, there must be a front row and a back row.
Records can be thrown into a container and can and will
loose order in the process. The order should always be defined, like
alphabetical, birthdate or geographical. There is no default order in a
collection of records. [btw: as do "fields"]
This order is only an apparent order, a view. There can be many views.
Rows can be seen as ordered units of a stack,
records as random units of a collection named database table.
Columns can be seen as ordered units of a row,
fields as random units of a collection named record.
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
Evertjan. wrote: Bob Barrows [MVP] wrote on 07 dec 2004 in microsoft.publi c.inetserver.as p.general:
Bob Barrows PS. You've got it backwards Evertjan. Bob, I am not going to play the "I am right, you are wrong" game.
Evertjan.
P.S.: I am right, as long as we are talking 4th generation datavases:
LOL
I used "LOL" in my initial reply because I really don't care. I understand
what's being talked about regardless of whether "row" or "record", or
"column" or "field" is used. If you want to argue about this, go find Celko
or Pascal on any of the innumerable newgroups that they frequent.
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Bob Barrows [MVP] wrote: ynott wrote:
I have an Access database with 58 fields in one table. I wrote many of the field names so that they were descriptive so that others could figure it out in the future. As an example, one field name is called MissingPart14 990aDescribe.
Should I be worried about the length of the field name? I'm expecting about 20,000 records a year to be entered into the database. So, five years from now, which would be about 100,000 records, will the query.asp for a list of records be slow due to field name size? BTW, the query.asp would just show a list of the last 3 months worth of records and only a snapshot of about 6 of the 58 fields.
TIA No, the length of the field names should have nothing to do with the speed of a query. You are increasing the size of the metadata (the description of the data, technically: "data about data"), which will increase the amount of network traffic and the amount of resources used to create the recordset to contain this data. But this will not be dependant on the number of rows in your table, and with proper bandwidth and good programming techniques, will not be likely to cause any performance problems.
I'm more concerned about the possibility of bad database design here. What is the meaning of the "14990a"? It makes it appear as if you are storing data in your metadata: never a good idea.
Bob Barrows
I agree. 58 fields in one table is not a good idea either. It suggests
a lack of normalisation. How many other tables are there in the database?
Mike Brind
It is generally recommended that you do not use Jet in a multi-threaded
production enviroment such as a web server. This is particularly important
if you have a lot of records and users.
Paul
"Mike Brind" <mikebrind@[nospam]hotmail.com> wrote in message
news:Kq******** ************@fe 2.news.blueyond er.co.uk... Bob Barrows [MVP] wrote: ynott wrote:
I have an Access database with 58 fields in one table. I wrote many of the field names so that they were descriptive so that others could figure it out in the future. As an example, one field name is called MissingPart14 990aDescribe.
Should I be worried about the length of the field name? I'm expecting about 20,000 records a year to be entered into the database. So, five years from now, which would be about 100,000 records, will the query.asp for a list of records be slow due to field name size? BTW, the query.asp would just show a list of the last 3 months worth of records and only a snapshot of about 6 of the 58 fields.
TIA No, the length of the field names should have nothing to do with the
speed of a query. You are increasing the size of the metadata (the description
of the data, technically: "data about data"), which will increase the
amount of network traffic and the amount of resources used to create the recordset
to contain this data. But this will not be dependant on the number of rows
in your table, and with proper bandwidth and good programming techniques,
will not be likely to cause any performance problems.
I'm more concerned about the possibility of bad database design here.
What is the meaning of the "14990a"? It makes it appear as if you are storing data in your metadata: never a good idea.
Bob Barrows
I agree. 58 fields in one table is not a good idea either. It suggests a lack of normalisation. How many other tables are there in the database?
Mike Brind This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: 'bonehead |
last post by:
Greetings,
I'd like to figure out some syntax for retrieving the data from a table
when I don't know all the of field names. What I do know are, the name
of the table, the names of the primary key fields, and the names of the
fields I want to use in the "where" clause of the SELECT statement. All
of the examples I've seen in my books only show how to do this by
hard-coding the names of each of the fields, i.e.,
$userid=$query_data;
|
by: ensnare |
last post by:
I'm attempting to create a threaded comment system involving PHP /
MySQL. Currently, I have a table called comments which looks like:
Table Comments: (comment_id, comment_root_id, comment_parent_id, text,
datetime_created).
Most of the tutorials that I've found online discuss how to thread the
results from the database with recursive query calls. This is all to
the good; however, with lengthy discussion, this solution becomes slow
and...
|
by: Matthew Braumiller |
last post by:
On Thu, 2 Oct 2003, "Gary Floam" <floam@comcast.net> wrote:
>Sure you can do that. The easies way is to create a table of the last names
>selected, and join that table into the query definition.
>
>If you write your own SQL, you can create a string something like
> where LastName in ("Smith", "Jones", "Brown")
>
>Good luck
>
|
by: DangerD321 |
last post by:
Hi.
I'm producing a database system for coursework and have run into a problem on
one of my tables.
I have 4 tables (members, cd's, vinyl's and loans). It's for a company who
loans out music products to it's members.
For the loans table, one of my fields is member ID, and i have made a query for
its row source: SELECT . FROM Members; so that the user can
only choose existing member id's.
This works fine. The problem is that i want to...
|
by: Martin Lacoste |
last post by:
(Access 2000)
Two issues:
Within a query, I need to return a field name as data (see eg. below).
I need to search within 80 fields (same criteria) - is there a way to
avoid 80 separate expressions (the 80 field names are stored in a
table - can I get the query to look each of these up?)?
Here's an example:
| |
by: cefrancke |
last post by:
Are there any ways to speed up a Cumulative sum in a query or perhaps
another faster way to have a cumulative sum column (call a vba
function?).
For example, I want to sum up all values under 'Amount', and also have
a field call 'Cumulative' and have the sum grow with each record. Using
"MyTable", the query results are...
ID or Date Amount Cumulative
--------------- ------ ----------
|
by: Generale Cluster |
last post by:
Hello,
I need to extract the names of the employees which have not been active
during the last 3 months from the following tables
EMPLOYEES:
employee_id
name
COOPERATIVE
cooperative_id
|
by: Amar |
last post by:
Hi All,
I need to select data from a database table containing huge amount of
data. Now I am storing data using one primary key and I am just using
simple select statement, and this process gives me the output but it is
taking long to execute the query. As much I had heared I want to use
some indexing or cluster indexing which might help me but I am not so
familiar with these things. So if any one having some solutions to
execute the...
|
by: Hamayun Khan |
last post by:
HI All
My client requirements are such that I m going to generate query runtime in asp.net.
At some time the query reaches to very much length as below
SELECT tblJobPost.JobTitle,tblJobPost.JobDesc,Scraped,tblSchools.logoimage,tblJobPost.JobPostID,tblJobPost.SchoolID,tblSchools.web,cast(tblJobPost.MemType as nvarchar(255)) as MemType,tblSchools.InstitutionName,tblSchools.InstitutionName as Empname,tblJobPost.PayScale,cast(tblLEA.LEA...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |