Import selected columns from a CSV files to SQL Se

2019-03-02 07:05发布

I am trying to import data from a CSV file to a SQL Server 2008 table. Data upload is working, but I want to import only selected columns, not all, and add them to a a new table, of same no. of columns, using the wizard, but its not happening, the wizard is selecting all the columns.

So is it possible using wizard that I only import selected columns.

1条回答
贪生不怕死
2楼-- · 2019-03-02 07:43

If you are using the Import / Export wizard, when you get to Select Source Tables and Views click on the button "Edit Mappings" on the bottom left of the screen. That opens column mappings screen; on the destination column select Ignore to remove the column you don't want to import.

查看更多
登录 后发表回答