SSIS Execute a Stored Procedure with the parameters from .CSV file SQL Server 2005

后端 未结 4 645
陌清茗
陌清茗 2021-01-25 18:08

I\'m learning SSIS and this seems like an easy task but I\'m stuck.

I have a CSV file Orders.csv with this data:

ProductId,Quantity,CustomerId
1,1,104
2         


        
4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-25 18:48

    I suspect that you need to look at your Data Flow task. It's likely that the values from the source CSV file are being interpreted as string values. You will probably need a Derived Column component or a Data Conversion component to convert your input values to the desired data type.

    And, I think @StephaneT's solution would be good for executing the SP.

提交回复
热议问题