Bonjour after investigation I found this list of error and possible solutions:- The error message (Syntax error in INSERT INTO statement Microsoft JET Database Engine) was cause by a null value in my table.
Solution: I make sure there is no null value in the table
- The error message (Numeric field overflow Microsoft JET Database Engine) is cause by the default date time value (1800-01-01 00:00:00.000)
Partial Solution: modify the sql statement [convert(varchar(10), Tbl_CreatedDate, 101) as Tbl_CreatedDate]
This eliminate the error but in excel the date is format as string this can be problematic for accounting user who rely on excel built-in function to do their job.
More on this error message: Miscrosoft Article ID: 815277
This article is base on MS Access scenario but I think it might apply
Link: http://support.microsoft.com/kb/815277
Access assigns a data type for each field of the Excel spreadsheet. This assignment is based on the data that is contained in the first eight rows. For example, if a field has a Number data type that is in the first eight rows and then has text values in some of the remaining rows, Access assigns the Number data type to the link table field. This causes Access to fail to link the records that have text data values. When you query this field, Microsoft Jet Database Engine encounters text where a number is expected. The query fails with the error message in the "Symptoms" section.
- On last error message this time manageable by error handling (The process cannot access the file 'C:\Users\dagrainj.AIM\Downloads\tset2.XLS' because it is being used by another process.)
this can occur if the excel file is save in a share directory (other user might cause this error simply by opening the file)
Thank you in advance