Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Can I divide one field in the table on to another one?

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-07-09 : 01:04:52
Ian writes "I have a two fields in the table:
Total( integer data type) and Correct (integer data type.
When I try to do :
SELECT Correct/Total
FROM TableName
Where ID = number
The result of the query is zero and I know that total not equal zero and correct not equal zero. Maybe you can help me with that problem.
Thank you, Ian."
   

- Advertisement -