Number formatting in SQL 2000
Hi,
I have a column of varchar 'numbers' and I would like to add leading zeros to ones that only have 3 numbers, ex. 703 = '0703'. Is there a quick update table statement I could write (psuedo code below):
if cell.text.num_chars = 3
then '0' + cell.text
Thanks!
~Matt
|