Import toggled excel sheet into SQL server using ssis

  • Hi,

    I have an excel sheet with 3 columns

    a. Application Name

    b. Group Name

    c. User Name

    I want to import the excel sheet into sqlserver. My problem is that excel sheet contains toggled column. i. e Application name is my parent group(root level ) and Group Name name is my child group and User name is child of Group Name group. When am trying to import to sql tables , the grouping columns having null values. Only one column contains data.

    I have attached the sample format of my excel sheet with this mail.

  • Might not be the best solution but I'd probably have a script task as second step (first step is the source) that sets the NULL/empty application name to the previous row's application name and the same thing for the group name. Then I'd filter out rows where group name or user name is NULL/empty which would just be the first row in each group and application that has no meaningful data

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply