Trailing zeros

  • Thread starter Thread starter mccallen60
  • Start date Start date
M

mccallen60

Hello,
I have a table that has a utilization qty field. The utilization qty has
three trailing zeros that are not needed. Below is what it currently looks
like and what I need it to look like:
Current: Need:
Utilization Qty Utilization Qty
60000 60
-15000 -15
120000 120
-240000 -240

Can you help me with a solution? Thanks, Kevin
 
Hello,
I have a table that has a utilization qty field. The utilization qty has
three trailing zeros that are not needed. Below is what it currently looks
like and what I need it to look like:
Current: Need:
Utilization Qty Utilization Qty
60000 60
-15000 -15
120000 120
-240000 -240

Can you help me with a solution? Thanks, Kevin

Do you wish to permanently change the data?
Back up your table first.
Then run an update query. Here is the SQL needed. Just change the
table and field names to your actual names:

Update YourTable Set YourTable.[UtilizationQty] =
[UtilizationQty]/1000;
 

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

Similar Threads

3 queries into 1 8
Transpose 2 rows to 2 columns 1
combining queries into 1 8
update query 5
Crosstab query help please 1
tables merge or math 3
combining records 1
Help with nulls, Nz, etc 5

Back
Top