Re: Decimal Alias values return as zero?
- From: "Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
- Date: Wed, 21 Nov 2007 17:07:29 -0500
Then use the convert (or cast) function to convert your integer fields to
float or real types.
--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)
"Jay" <spam@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:O4iheXILIHA.3848@xxxxxxxxxxxxxxxxxxxxxxx
Thanks for the suggestion, but I can't add a decimal point to any of the
two field being used in the calculation because these are fields on the
sql server which I can only refer to by field name.
Thanks......Jason
Sylvain Lafontaine wrote:
Add a decimal point to at least one operand:
Select (500 / 700), (500 / 700.0)
.
- References:
- Decimal Alias values return as zero?
- From: Jay
- Re: Decimal Alias values return as zero?
- From: Sylvain Lafontaine
- Re: Decimal Alias values return as zero?
- From: Jay
- Decimal Alias values return as zero?
- Prev by Date: Re: Decimal Alias values return as zero?
- Next by Date: Which SQL?
- Previous by thread: Re: Decimal Alias values return as zero?
- Next by thread: Re: Decimal Alias values return as zero?
- Index(es):
Relevant Pages
|