Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with function

Status
Not open for further replies.

ztrex

Programmer
Jun 26, 2001
5
0
0
US
Not sure if this is really a "function," but, here goes.

I need to perform this mathematical function on some columns in my table:

[ (a1) + (a2) + (a3) + (a4) ] / 6

Where a1, a2, a3, a4 cannot be less than zero, or greater than 2.375. How can I perform this using the SET column_name command?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top