Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Decimal Fields

Status
Not open for further replies.

WelshyWizard

IS-IT--Management
Apr 23, 2006
89
GB
Hi all,

I've created a table within SQL Server 2000 and have a decimal (9) field called FACTOR. When I type a value in this field, say 1.4, the value gets changed to a 1. Why is this and how can I stop this happening?!

Cheers

Today is the tomorrow you worried about yesterday - and all is well.....
 
Sorry... I was being stupid! I had the scale set to 0!!!

Today is the tomorrow you worried about yesterday - and all is well.....
 
That would certainly do it. @=)

Glad you figured it out.



Catadmin - MCDBA, MCSA
"No, no. Yes. No, I tried that. Yes, both ways. No, I don't know. No again. Are there any more questions?"
-- Xena, "Been There, Done That"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top