LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Using Excel as Interface for big SQL Server Tables?!

On Nov 15, 2:08*am, Webtechie
wrote:
Hello,

My boss asked me to create some macros in VBA to process a list of records
in a spreadsheet.

That is easy. *I have to go out to websites and get data based on the number
id in the spreadsheet and bring back data. *I then take the data from the
websites and upload the row in the spreadsheet for each number id. *

Ok, I got that to work well.

Now he is giving me huge files to process with same routine. *Some CSVs,
some DBFs, some Word docs that will need to be parsed and a couple of
spreadsheets.

With all the different datasources, I thought I should load them into SQL
Server and create one database. *Each table would represent one of the
datasources that I have been given.

Done that. *But the tables have 300,000 records in one, 200,000 in another
and so on. *Big tables and there are 8 tables in all.

Now back to the Excel macro that he wanted me to create in the first place. *
I can convert the macro to get the number id from SQL Server and process the
information and then even store it back to SQL Server.

However, I am looking for best practices. *Is using EXCEL VBA the right way
to process hundreds of thousands of records in SQL Server?

If so, what is the best way to do this? *Create VBA code to bring over all
records from one table, to excel and then process it , now that Excel can go
over a million rows?

Write VBA code to process blocks of number ids? Should I still be using
EXCEL as an interface since now I am pulling number ids from a SQL server
database and not a spreadsheet?

Thanks for helping me clarify which way to go now with this project.


Is there a reason you can't do what you want to by a stored procedure?
 
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 / Sql Server / Pivot Tables WCM Excel Discussion (Misc queries) 2 April 5th 09 03:38 PM
Refreshing Pivot tables link to a SQL Server dins45768 Excel Programming 0 March 2nd 06 07:19 PM
pivot tables interface with queries biviluv Excel Worksheet Functions 0 March 15th 05 08:15 PM
QUI Expert: Excel-based User Interface or OO User Interface? Michael[_27_] Excel Programming 1 November 11th 04 01:53 PM
GUI Expert: Excel-based User Interface or OO User Interface? Michael[_27_] Excel Programming 0 November 11th 04 01:20 PM


All times are GMT +1. The time now is 12:43 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"