Right-aligning numbers in T-SQL

added by DotNetKicks
4/10/2017 1:26:20 PM

1 Kicks, 268 Views

When you output a series of numbers in T-SQL, people often want to right-align the numbers. So instead of numbers that look like this: They want an output that looks like this: Now the first thing to understand is that this is generally a client-tool