Re: Syntax error converting varchar 1.8 to a column of datatype int.
- From: "aaron.kempf@xxxxxxxxx" <aaron.kempf@xxxxxxxxx>
- Date: Tue, 18 Mar 2008 20:10:53 -0700 (PDT)
why would you use float ever anywhere?
I don't get it
On Mar 7, 4:28 pm, "Sylvain Lafontaine" <sylvain aei ca (fill the
blanks, no spam please)> wrote:
Numbers like 1.2 and 2.3 are not integers but floating point numbers or
number with a decimal value. Try replacing int with float or real:
... (CONVERT(float, [ResultValueCreatinine]) ...
instead of:
... (CONVERT(int, [ResultValueCreatinine]) ...
--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)
"Mitchell_Collen via AccessMonster.com" <u33726@uwe> wrote in messagenews:80d12e2583081@xxxxxx
I am sorry. What do you mean by floating calculus? The reason that I was
converting to int is because that is what it said in the error. The values
are all basically like 1.2, 2.3, 1.6 and so on. What do you suggest is
best
for these number? I know now, you don't suggest int.
Thanks, Misty
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-adp-sqlserver/200...- Hide quoted text -
- Show quoted text -
.
- Follow-Ups:
- Re: Syntax error converting varchar 1.8 to a column of datatype int.
- From: Robert Morley
- Re: Syntax error converting varchar 1.8 to a column of datatype int.
- References:
- Syntax error converting varchar 1.8 to a column of datatype int.
- From: Mitchell_Collen via AccessMonster.com
- Re: Syntax error converting varchar 1.8 to a column of datatype int.
- From: Sylvain Lafontaine
- Re: Syntax error converting varchar 1.8 to a column of datatype int.
- From: Mitchell_Collen via AccessMonster.com
- Re: Syntax error converting varchar 1.8 to a column of datatype int.
- From: Sylvain Lafontaine
- Syntax error converting varchar 1.8 to a column of datatype int.
- Prev by Date: Re: A2007 convert ADP forms to MDB forms?
- Next by Date: Re: Copying truncates strings of spaces?
- Previous by thread: Re: Syntax error converting varchar 1.8 to a column of datatype int.
- Next by thread: Re: Syntax error converting varchar 1.8 to a column of datatype int.
- Index(es):
Relevant Pages
|