Can anyone help with padding a string expression in SSIS expression builder? I need 518 spaces for a header file and really would rather not hit the space bar 518 times.
expression:
@[User::Header] + (DT_STR,4,1252)YEAR(GETDATE()) + RIGHT("0" + (DT_STR,2,1252)MONTH(GETDATE()),2) + RIGHT("0" + (DT_STR,2,1252)DAY(GETDATE()),2) + **Spaces(518)** + "\r" + "\n"
↧