简体   繁体   中英

Import data into SQL Server from an Excel file

I have an Excel (version 2007) file which has more than 700 columns and I need to import that data into my SQL Server database. When I import the data, it only imports the first 255 columns as columns in table that is created by SQL Server. I want to know how to import all 700 columns.

You can try saving the excel data file as a text delimited file, then choose "flat file" in DTS. That should solve your problem.

Here is another solution to the problem as well: https://waheedrous.wordpress.com/2014/01/14/ssis-importing-an-excel-file-with-over-255-columns/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM