Re: how to assigned float number to DB ?
- From: "Hari Prasad" <hari_prasad_k@xxxxxxxxxxx>
- Date: Sun, 24 Jun 2007 13:55:15 +0530
Hello,
Use the below sample:-
declare @t numeric(2,1)
set @t = 0.1
select @t
Thanks
Hari
"guy" <guy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:590D1DF2-C360-45BB-9675-52533F59AABC@xxxxxxxxxxxxxxxx
but if its Numeric it cant save me the 0.1 ... (or maybe i dont know how
to
do this..) it save it like it was zero..
"Hari Prasad" wrote:
Hello,
Use Numeric instead of FLOAT datatype.
Thanks
Hari
"guy" <guy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:04D80E57-189C-4C31-8729-1511B073B490@xxxxxxxxxxxxxxxx
how can i assigned a float number with only one digit after the dot to
the
DB ?
i mean that i want to write this number 0.1 and not this 0.100000000
(that
what the sql does for me now..)
im using a storage procedure for this purpuse, so maybe the problem is
there..
thanks !!
.
- References:
- Re: how to assigned float number to DB ?
- From: Hari Prasad
- Re: how to assigned float number to DB ?
- Prev by Date: Re: how to assigned float number to DB ?
- Next by Date: Re: how to assigned float number to DB ?
- Previous by thread: Re: how to assigned float number to DB ?
- Next by thread: Re: how to assigned float number to DB ?
- Index(es):
Relevant Pages
|
|