Thanks for the quick reply. I will try it out tonight. Can you also answer for me this question?
1. My Hits field and AtBats field are of type Int. When you divide an integer by an integer, are you going to get an integer result. What can I use to make sure I get a decimal result.
2...
I need help with my stored procedure. I am trying to perform a calculation query. My table looks like this:
Table Name: GameStats
Composite Primary Key: GameID and PlayerID
Fields: AtBats, Hits
I am trying to calculate the batting average for each player on my baseball team. Batting...
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.