Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 172
Default Reading Access - Multiple Indices

Hi All
I have an Access database file (mdb) that I query from Excel, so far the one
table used has a single index on one variable and my SQL string uses the
'select where' based on this variable.

I now wish to query the same table only using a different variable, I have
added an index in Access to this variable. My query was changed to the
'select where' based on this new variable.

Is this all I need to do? I am assuming that the query takes care of using
the appropriate index, is this true? It appears to work on my test dataset
but when I step it up to 200,000 rows I want to make sure the performance is
maintained.

TIA
Cheers
Nigel




----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default Reading Access - Multiple Indices

If you substitute the word 'column' for 'variable' in your post, it
would make total sense and the answer to your question would be 'Yes'.

As it stands, I don't understand what you mean e.g. 'a single index on
one variable', 'added an index in Access to this variable' ?!

--

"Nigel" wrote in message ...
Hi All
I have an Access database file (mdb) that I query from Excel, so far the one
table used has a single index on one variable and my SQL string uses the
'select where' based on this variable.

I now wish to query the same table only using a different variable, I have
added an index in Access to this variable. My query was changed to the
'select where' based on this new variable.

Is this all I need to do? I am assuming that the query takes care of using
the appropriate index, is this true? It appears to work on my test dataset
but when I step it up to 200,000 rows I want to make sure the performance is
maintained.

TIA
Cheers
Nigel




----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Reading Access - Multiple Indices

OK thanks, sorry about the teminology, I'm an SPSS user and the terms
variables and cases are more common to me as far as databases are concerned.

In terms of the Access Table, I had one 'column' with an index initially. I
subsequently changed another column to also have an index. both 'allow
duplicates'

Cheers
Nigel

"onedaywhen" wrote in message
om...
If you substitute the word 'column' for 'variable' in your post, it
would make total sense and the answer to your question would be 'Yes'.

As it stands, I don't understand what you mean e.g. 'a single index on
one variable', 'added an index in Access to this variable' ?!

--

"Nigel" wrote in message

...
Hi All
I have an Access database file (mdb) that I query from Excel, so far the

one
table used has a single index on one variable and my SQL string uses the
'select where' based on this variable.

I now wish to query the same table only using a different variable, I

have
added an index in Access to this variable. My query was changed to the
'select where' based on this new variable.

Is this all I need to do? I am assuming that the query takes care of

using
the appropriate index, is this true? It appears to work on my test

dataset
but when I step it up to 200,000 rows I want to make sure the

performance is
maintained.

TIA
Cheers
Nigel




----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet

News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000

Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via

Encryption =---




----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
prevent reading or any access to selected cells R New Users to Excel 2 August 26th 09 10:06 PM
Returning multiple indices for a lookup [email protected] Excel Worksheet Functions 4 June 29th 07 12:04 AM
Indices - Agreed Standards? Jay New Users to Excel 3 May 24th 06 12:02 PM
MS Excel data reading in MS Access Paul Excel Discussion (Misc queries) 1 January 27th 05 11:58 AM
Option Base and reading from Access Don Wiss Excel Programming 3 January 22nd 04 06:38 AM


All times are GMT +1. The time now is 10:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"