Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Smart way of Excel -> SQL Server
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

80 Posts

Posted - 12/20/2012 :  08:18:39  Show Profile  Reply with Quote
I thought to ask that if I'm doing my upload of data way too hardly. I have Excel sheet which has X times Y cells. These cells needs to go to SQL Server table. The current solution is that I use VBA code to read the range (about 3000 cells) into an array, then print the array into a text file row-by-row like


and then BULK INSERT the txt-file into an SQL Server table.

Can I cut some parts of this out? Is there some plain and simple uploading function to put Excel data into an SQL table?

One of the keys here is that from user's point of view it has to be as simple as pressing save in Excel to get the data into the table.

Edited by - KilpAr on 12/20/2012 08:19:14

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 12/20/2012 :  08:27:05  Show Profile  Reply with Quote
do you mean this?

SQL Server MVP

Go to Top of Page

Premature Yak Congratulator

22864 Posts

Posted - 12/24/2012 :  04:27:25  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
or refer


Failing to plan is Planning to fail
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000