I have an excel file with student records, I would like to create an SSIS to SQL table.
I have a question for a column GradeLevel.
The format is P, K, 01, 02, 03,...11,12.
The source file we received about this column most of time are in the correct format.
But sometimes, they omit the leading 0, so instead of 01-09, they show up like 1-9.
How can I use an expression in SSIS to format this column to 01-09 no matter they send us the correct or wrong format, and also keep other grade levels like P,K, 10-12. I guess I can use derived column, but not sure how to write the expression.
Thanks,
SQLFriend