Click here to Skip to main content
15,889,909 members
Home / Discussions / Database
   

Database

 
QuestionHow to Import many excel Files to sql server 2005? Pin
caiguosen17-Jan-10 3:31
caiguosen17-Jan-10 3:31 
AnswerRe: How to Import many excel Files to sql server 2005? Pin
Eddy Vluggen17-Jan-10 6:13
professionalEddy Vluggen17-Jan-10 6:13 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
caiguosen20-Jan-10 23:49
caiguosen20-Jan-10 23:49 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
Eddy Vluggen21-Jan-10 0:11
professionalEddy Vluggen21-Jan-10 0:11 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
caiguosen21-Jan-10 0:58
caiguosen21-Jan-10 0:58 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
Eddy Vluggen21-Jan-10 1:25
professionalEddy Vluggen21-Jan-10 1:25 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
caiguosen23-Jan-10 21:50
caiguosen23-Jan-10 21:50 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
Eddy Vluggen24-Jan-10 1:47
professionalEddy Vluggen24-Jan-10 1:47 
caiguosen wrote:
the version of the excel files which i want to import is Excel2.1,
if I use the following solution to import, it can not work.


Can you try it with the Excel 5.0 format, like this?
select * 
into dbo.Temple FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0', 
'Excel 5.0;Database=D:\a.xls;HDR=YES', 
'SELECT * FROM [a$]')

caiguosen wrote:
Are there some solutions that I change their version quickly?


I don't know of any, you'd have to Google for those. I'd try to read the file using C#, and write it directly to a database Smile | :)

I are Troll Suspicious | :suss:

GeneralRe: How to Import many excel Files to sql server 2005? Pin
caiguosen24-Jan-10 2:05
caiguosen24-Jan-10 2:05 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
Eddy Vluggen24-Jan-10 4:54
professionalEddy Vluggen24-Jan-10 4:54 
GeneralRe: How to Import many excel Files to sql server 2005? Pin
caiguosen24-Jan-10 16:23
caiguosen24-Jan-10 16:23 
Questionfixing table for looping through checkboxlist. Pin
macupryk16-Jan-10 12:18
macupryk16-Jan-10 12:18 
GeneralThe Secret $5680 in 24 Hour Strategy Pin
mFarooq7215-Jan-10 14:38
mFarooq7215-Jan-10 14:38 
GeneralRe: The Secret $5680 in 24 Hour Strategy Pin
Mycroft Holmes15-Jan-10 16:27
professionalMycroft Holmes15-Jan-10 16:27 
QuestionUsing table Variables Create outside a UDF inside a UDF Pin
Vimalsoft(Pty) Ltd15-Jan-10 1:08
professionalVimalsoft(Pty) Ltd15-Jan-10 1:08 
AnswerRe: Using table Variables Create outside a UDF inside a UDF Pin
Mycroft Holmes15-Jan-10 16:33
professionalMycroft Holmes15-Jan-10 16:33 
GeneralRe: Using table Variables Create outside a UDF inside a UDF Pin
Vimalsoft(Pty) Ltd16-Jan-10 20:01
professionalVimalsoft(Pty) Ltd16-Jan-10 20:01 
AnswerRe: Using table Variables Create outside a UDF inside a UDF Pin
Eddy Vluggen17-Jan-10 6:06
professionalEddy Vluggen17-Jan-10 6:06 
QuestionHow to retrieve column names of table based on conditions in data [Solved] Pin
James Shao14-Jan-10 21:42
James Shao14-Jan-10 21:42 
AnswerRe: How to retrieve column names of table based on conditions in data Pin
Ashfield14-Jan-10 21:50
Ashfield14-Jan-10 21:50 
AnswerRe: How to retrieve column names of table based on conditions in data Pin
Eddy Vluggen15-Jan-10 1:19
professionalEddy Vluggen15-Jan-10 1:19 
GeneralRe: How to retrieve column names of table based on conditions in data Pin
James Shao15-Jan-10 14:52
James Shao15-Jan-10 14:52 
AnswerRe: How to retrieve column names of table based on conditions in data Pin
Luc Pattyn15-Jan-10 1:52
sitebuilderLuc Pattyn15-Jan-10 1:52 
GeneralRe: How to retrieve column names of table based on conditions in data Pin
James Shao15-Jan-10 14:56
James Shao15-Jan-10 14:56 
GeneralRe: How to retrieve column names of table based on conditions in data Pin
Mycroft Holmes15-Jan-10 16:41
professionalMycroft Holmes15-Jan-10 16:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.