|
Hi, When i am trying to import data from excel to sql i receiving following error message "OLE DB provider 'Microsoft.Jet.OLEDB.4.0' reported an error. The provider did not give any information about the error." Can anybody help me to solve this error
(comments are locked)
|
|
If you have really the space as it is in you example When doing a test on my machine, the below statement works correctly But when executing a below command with the space in the A below error is thrown:
Good eye, good eye!
Jun 15 '11 at 12:07 PM
Oleg
Hi Pavel, If i executed the query without space im getting the same error..two types of error
Jun 15 '11 at 10:58 PM
sathishkumar
Try to check this KB article whether it is related to you: http://support.microsoft.com/kb/209805/en-us Anyway.. Does the SQL Service account access to the excel file you are trying to import. You need to take in mind, that the SQL Server Service account is accessing the file and not your account.
Jun 16 '11 at 04:00 AM
Pavel Pawlowski
(comments are locked)
|
|
Alternatively you could use a DTS package to do the excel import to sql database. yes kannan, but just trying the same in query
Jun 15 '11 at 04:56 AM
sathishkumar
(comments are locked)
|
|
Is there a reason you must use this in a query? There is an import data wizard available that does a great job for loading data Hi Dave, No reason, trying to know how to import data using query..
Jun 15 '11 at 11:01 PM
sathishkumar
(comments are locked)
|


What are you using to do this? The best way to import data is SSIS.
i am using this in sql 2000 my query is
what version of sql Server 2000? x64 or x32?
version SQL 8.00.194 x32