Re: From excel file into MS SQL server
From: Simon Hayes (sql_at_hayes.ch)
Date: 02/01/05
- Next message: Sue Hoegemeier: "Re: From excel file into MS SQL server"
- Previous message: John: "Re: From excel file into MS SQL server"
- In reply to: no one: "Re: From excel file into MS SQL server"
- Next in thread: Sue Hoegemeier: "Re: From excel file into MS SQL server"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Feb 2005 20:28:13 +0100
"no one" <noone@yahoo.com> wrote in message
news:41FF763D.6BFF199A@yahoo.com...
> Thanks for the link, but this is not what I want to do. I want to put the
> data from the file into a table, not the file itself.
>
> "Steve C. Orr [MVP, MCSD]" wrote:
>
<snip>
Have a look at DTS - it can load directly from Excel (or most other things)
to MSSQL, and you can change the source and destination connections at
runtime. This link discusses executing a package from ASP:
http://www.sqldts.com/default.aspx?207
Otherwise, you can parse the file and generate your own INSERT statements
(slow), or convert it to a flat text file and then use bcp.exe or BULK
INSERT to load the data.
Simon
- Next message: Sue Hoegemeier: "Re: From excel file into MS SQL server"
- Previous message: John: "Re: From excel file into MS SQL server"
- In reply to: no one: "Re: From excel file into MS SQL server"
- Next in thread: Sue Hoegemeier: "Re: From excel file into MS SQL server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|