Linked server to Excel file in SQL Server 2005 Enterprise Edition 64-bit

  • Hello All,

    I am using SQL Server 2005 Enterprise Edition 64bit with SP2 on Windows Server 2003 Enterprise Edition 64bit with SP2. During testing of application, I found out, SQL Server 2005 Enterprise Edition 64bit does not support excel import using MS JET OLEDB provider 4.0.

    So I tried office 2007 OLE provider as well but still no luck. Then I tried the option of creating Linked server but I got stuck. I just cant locate the OLE provider for office 2007 in the provider drop down list.

    Please assist on as to how can I get rid of this problem or at least please let me know how can create the linked server to link to an excel file that is to be imported.

    Regards,

    Niri

  • Try this

    CON.Open "PROVIDER=sqloledb;DATA SOURCE=ip;DATABASE=databasenamel;USER ID=username;password=password"

    Bala

  • I would recommend that you save the Excelsheet(s) as tab separated textfiles and use bulkinsert instead.

    /gosta

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply