Does anyone know of a non-kludgy way in TSQL to left-pad zeros onto a numeric field to export into an SDF file?
For example,
45000 would show in the SDF file as 00045000 and 1500 would show as 00001500.
I am making the switch from FoxPro 2.6 to TSQL. In FoxPro, I had the PADL function that handled this with ease. In TSQL, I don't see anything like that.
For example,
45000 would show in the SDF file as 00045000 and 1500 would show as 00001500.
I am making the switch from FoxPro 2.6 to TSQL. In FoxPro, I had the PADL function that handled this with ease. In TSQL, I don't see anything like that.