Quantcast
Channel: Questions in topic: "ssis"
Viewing all articles
Browse latest Browse all 813

Space Padding in SSIS Expression Builder

$
0
0
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"

Viewing all articles
Browse latest Browse all 813

Trending Articles