Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.sqlserver.server
Ben Ben is offline
external usenet poster
 
Posts: 13
Default how to import an excel table into sql server express?

Hi,

i have a table in an excel file. How can i import it into sql server
express?
Thanks
Ben




  #2   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.sqlserver.server
external usenet poster
 
Posts: 2
Default how to import an excel table into sql server express?

Ben
1) Linked Servers
2) OPENDATASOURCE command

INSERT INTO tbl
SELECT *
FROM OpenDataSource( 'Microsoft.Jet.OLEDB.4.0',
'Data Source="c:\MyExcel.xls";
User ID=Admin;Password=;Extended properties=Excel 8.0')...Book1$




"Ben" <b@bn wrote in message
...
Hi,

i have a table in an excel file. How can i import it into sql server
express?
Thanks
Ben






Reply
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
how do I import data in excel form SQL server? Mitch Excel Worksheet Functions 7 April 15th 10 03:49 PM
can not import Excel worksheet in accounting express 2008 Dave New Users to Excel 1 February 5th 09 06:25 PM
import data into SQL Server from Excel Rachel[_2_] Excel Discussion (Misc queries) 1 October 27th 08 02:35 AM
excel (vba) and sql server express muelle60 Excel Programming 2 August 25th 06 04:12 PM
import and export from SQL SERVER to Excel sal21[_106_] Excel Programming 1 June 14th 06 10:56 AM


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

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"