• Alistair Potts, Thanks for the info.. but, it will not work. I need to import 10 sheets from workbook to SQL server management studio 2008.

    I tried with one sheet. I converted that into flat file and tried to import the same into the database and it gave me below error message.

    - Executing (Error)

    Messages

    Information 0x402090de: Data Flow Task 1: The total number of data rows processed for file "XXX\Test.txt" is 5.

    (SQL Server Import and Export Wizard)

    Error 0xc02020c5: Data Flow Task 1: Data conversion failed while converting column "X" (22) to column "XX" (78). The conversion returned status value 2 and status text "The value could not be converted because of a potential loss of data.".

    (SQL Server Import and Export Wizard)

    Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "output column "X" (78)" failed because error code 0xC020907F occurred, and the error row disposition on "output column "XX" (78)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.

    (SQL Server Import and Export Wizard)

    Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Data Conversion 0 - 0" (58) failed with error code 0xC0209029 while processing input "Data Conversion Input" (59). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.

    (SQL Server Import and Export Wizard)

    --- Please NOTE: As I stated earlier, I want to use Excel 2007 only to import to database. This excel workbook has many sheets. (Please refer my previous post messages for more information)