I've recently taken over a database that has SQL server 6.5 compatibility set due to the nature of the vendor. I am to write a few scripts to dump some of the data for a 3rd party. This data, of course, needs to be fixed width text.
Does anyone have any recommendations for a good string padding routine? Can't take advantage of user defined functions.
Basically would like to be able to pad a string either left or right side with any character I choose.
Does anyone have any recommendations for a good string padding routine? Can't take advantage of user defined functions.
Basically would like to be able to pad a string either left or right side with any character I choose.