SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 .NET Inside SQL Server (2005)
 Import Excel 2010 data to SQL Server table
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

13 Posts

Posted - 03/22/2012 :  05:33:02  Show Profile  Reply with Quote
Hello all,

I have a problem with importing data from Excel 2010 in SQL Server.
What I want to do is to get a string that gives the path of an Excel Sheet 2010 file from the user through the .NET Application. Then I need to create a stored procedure that will append the data from excel file to an already created table in SQL Server. The table and the Excel Sheet will have the same columns with same names.

Any suggestions if there a way to build a stored procedure for this?

Thank you in advance.

Posting Yak Master

190 Posts

Posted - 05/04/2012 :  08:24:06  Show Profile  Visit sql-programmers's Homepage  Reply with Quote
see the link,


SQL Server Programmers and Consultants

You can use bulk insert concept in .Net code.

see the link


Edited by - sql-programmers on 05/04/2012 08:24:53
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.03 seconds. Powered By: Snitz Forums 2000