Preceding Zero - Urgent Help Need

T

Tim

Hi guys,

I have a query to retrieve data from sales table which
has data like the following:

ID Amount
1 52.50
2 100.00
3 1000.00

I want to change the format to the following:

ID Amount
1 005250
2 010000
3 100000

Does anyone have a idea?

Any help will be appreciated.

Thanks in advance.

Tim.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top