August 26, 2013 at 12:07 am
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.
August 26, 2013 at 10:51 am
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
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply