George, thanks so much for responding. I understand the code concept-wise. However, when I use it, I still get a syntax error.
I was hoping that someone can provide the exact MySQL syntax to use.
Thanks again,
Cyril
I've seen other posts with mySQL syntax for adding leading zeros to my column but it doesn't seem to be working. Here's what I need.
Table Name: MyCustomers
Column Name: CustomerID
The data in this column goes something like:
1
2
3
4
5
etc.
I would like it to look like:
0001
0002
0003...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.