Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dividing 10 by 100
Message
From
19/10/2004 23:48:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Dividing 10 by 100
Miscellaneous
Thread ID:
00952879
Message ID:
00952879
Views:
45
Hi Guys,

Im trying to get the quotient for (10/100) in SQL. I run this query using SQL Query Analyzer

SELECT 10/100

The result displayed is 0. I also tried this query SELECT CAST((10/100),NUMERIC(3,2))
but still, the result returned is zero.

Is there another way to return the decimal value (quotient) of the query above?


Thanks in advance....
Music Rocks www.musicreserve.blogspot.com
Success is 1% Inspiration & 99% Perspiration
God Sometimes Delays His Help to Test Our Faith and Energize Our Prayers
Our Boat May Be Tossed While He Sleeps, But He Wakes Up Before it Sinks.
Next
Reply
Map
View

Click here to load this message in the networking platform