Subtract Query

G

Guest

I need to do an sql query to subtract one field from another on the selected
record in a table and update the first field. Can anyone give me a hint?

Thanks
 
D

Douglas J Steele

Something like UPDATE MyTable SET Field1 = FIeld1 - Field2

Try it on a copy first, of course!
 

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