I have the constant task of producing flat files with fixed widths. I would like to know is there a way that I can create fixed widths in SQL no matter the length of the data in the record. For example if I have a name column that is 20 spaces, and enter in a name that is 11 spaces, I would still like to have the other 9 spaces populated. So if I run a query and save the query as a csv file it would save as "Christopher ",...
Thanks a bunch.
Thanks a bunch.