If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > access database efficiency

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-12-10, 21:50
wenjin wenjin is offline
Registered User
 
Join Date: May 2010
Posts: 1
access database efficiency

Hi All,

Does anyone know which will query faster?
1) A database with more fields
2) A database with more rows

i have a student database with 2 semesters of results which one will allow access to query data faster.

should i create one with many fields?
S1_english | S2_english | S1_maths| S2_maths| ...........

or one with more rows
semester | english | maths | science|....

thanks
Reply With Quote
  #2 (permalink)  
Old 07-12-10, 22:27
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
Quote:
Originally Posted by wenjin View Post
Does anyone know which will query faster?
1) A database with more fields
2) A database with more rows
out of context, this question cannot be answered

in your context, if the question is between this --

S1_english | S2_english | S1_maths| S2_maths| ...........

or this --

semester | english | maths | science|....

then the answer is: neither

what you want is this --

semester | subject | result
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On