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.
| Author |
Topic |
|
timaz
Starting Member
1 Post |
Posted - 2009-02-18 : 08:03:33
|
| Dear All.I use SQL 2005.I tried below select and assumed that it will return 0.2, but it returns 0:select 1/5orselect 1/4Any idea? |
|
|
sakets_2000
Master Smack Fu Yak Hacker
1472 Posts |
Posted - 2009-02-18 : 08:04:32
|
| select 1.0/5orselect 1/4.0 |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
|
|
|