LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default SQL? Index? Excel?

Haven't done programming for a while-rusty now. Need help from any of you:
1) Trying to retrive data from SQL server to Excel by VBA. The SQL database
is huge, which has over 50,000 data in it. But only 2 columns have index. For
example, I want to output all the employee's name whose salary is below
10,000, and the group between 10,000 and 20,000, while the salary does not
have index, but employee's name has index. As the database is huge, it takes
forever to get the data. Anyone has idea to improve the speed? Or any
alternative?

2) trying to run the macro and retrive some data into Excel sheet for
selection. For example, I have 1000 employee use the bank HSBC, and another
2000 people use Whacovia. How can I get only one HSBC and one Whavocia into
Excel cell for a selection?

Thank you very much and appreciate your ideas.
 
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
Excel Help Index tab DWNH Setting up and Configuration of Excel 1 November 4th 08 08:30 AM
SQL? Index? Excel? NiNi Excel Discussion (Misc queries) 1 June 14th 06 11:35 PM
Excel Addins - Index or key mangesh_yadav[_139_] Excel Programming 1 October 14th 04 12:36 PM
Excel Addins - Index or key mangesh_yadav[_138_] Excel Programming 2 October 14th 04 11:47 AM
Workbooks Index (Excel 97) David Copp Excel Programming 2 September 14th 03 02:35 AM


All times are GMT +1. The time now is 06:10 AM.

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

About Us

"It's about Microsoft Excel"