Excel数据导入的问题

Blue 100 Reputation points
2024-04-25T08:26:54.83+00:00

我在尝试把excel表格的数据导入到sql的表里,有什么办法可以把前100行导入到A表,101-200行的数据导入到B表这样一次性完成吗

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,592 questions
0 comments No comments
{count} votes

Accepted answer
  1. ZoeHui-MSFT 37,671 Reputation points
    2024-04-25T08:47:36.64+00:00

    Hi @Blue,

    你可以尝试使用有条件拆分转换这个组件并且结合c#代码来完成这个包。

    这里有个非常详细的教程你可以参考。

    SSIS - Read Top X Rows From Flat File / Excel File OR Range OF Rows

    或者你也可以选择三方插件RowNumber来实现。

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.