Click here to Skip to main content
15,917,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to import some columns data from excel to sql server data table in some specific locations. is it possible to do this task. or have to do this thing manually by update statement.

please help me
Posted

Hi,

for importing excel data to excel try following link
http://support.microsoft.com/kb/321686[^]

Best Luck
Happy Coding
 
Share this answer
 
SQL
select *  from openrowset ('Microsoft.ACE.OLEDB.12.0','Excel 12.0;Database=d:\Sharedd\transactionamt.XLSX',[Sheet2$])


use the above query and change the file name location in database .
 
Share this answer
 
Read this article:

Import Data from Excel to SQL Server[^]

hope it helps :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900