你EXCEL文件肯定是XLS,换成XLSX格式就行了

解决方案 »

  1.   

    XLSX 工作簿格式的文件,表最大可达 1048576 行.
      

  2.   

    但在MSSQL 2005 中没有导出到EXCEL 2007 的选项,在 2008 中可以选择 EXCEL 2007 文件.
      

  3.   

    SQL SERVER 2005里面只能导入到EXCEL 2003 
      

  4.   


    MSSQL 2005 里可以导出到 EXCEL 2005.
      

  5.   

    sql server 2005 导入excel2007 没问题。
    做法如下:
    http://database.ctocio.com.cn/tips/308/8250808.shtml
      

  6.   

    导出时Excel我选择的是97-2005,不知道是何原因不可以
      

  7.   

    使用7楼的方法,必须要 安装驱动AccessDatabaseEngine.exe
    你选excle 97-2007,当然超不过65535了
      

  8.   

    看能不能导cvs的吧。这个好像很多。
      

  9.   

    - Copying to `Query` (Error)
    Messages
    Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
     (SQL Server Import and Export Wizard)
     
    Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "input "Destination Input" (207)" failed because error code 0xC020907B occurred, and the error row disposition on "input "Destination Input" (207)" 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 "Destination - Query" (196) failed with error code 0xC0209029 while processing input "Destination Input" (207). 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)
     以上是在SQL 2008中导出到Excel2007的错误
      

  10.   

    你得有sqlserver08 能支持 07与03的啊
      

  11.   

    看不同的版本了 用csv来装 没有行数限制的。excel还有改进的空间。
      

  12.   

    一般我导出数据到excel都会出现数据的丢失 所以每次都导入csv 或者 txt
    相对来说txt更好一点 csv也有一定的缺陷 比如那种00000开头的数字 可能会丢失。
      

  13.   

    http://www.ashishblog.com/blog/import-excel-2007-xlsx-sheet-into-sql-server-2008-without-query/ 参见此贴,直接导入XLSX