开发者

Import Excel data to SQL Server

开发者 https://www.devze.com 2023-01-02 12:39 出处:网络
What is the correct way of importing data from Excel 2007 file to SQL Server database 2008? The data from excel file should be transferred successfully even 开发者_Go百科if the data in Excel file is c

What is the correct way of importing data from Excel 2007 file to SQL Server database 2008? The data from excel file should be transferred successfully even 开发者_Go百科if the data in Excel file is changed / replaced with different data except the column name at first row.


Excel is very finicky about how you remove rows from it. Your best bet is to select all rows below the column headers and right click and delete. If you simply clear contents and then don't paste in as many rows, it looks to SSIS like you have rows with nulls in them which sometimes causes the types of errors you are seeing.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号