Computing.Net > Forums > Database > MSSQL 2005 change scale in column

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

MSSQL 2005 change scale in column

Reply to Message Icon

Name: lumpy
Date: September 16, 2008 at 16:13:23 Pacific
OS: MS 2003
CPU/Ram: u/k
Product: dell
Comment:

Hello

Forgive my poor SQL knowledge.

Im looking after an SQL 2005 machine which i inherited. I typically just need to maintain it, however, Im after getting a request to change something .
I have a table which has information on discounts based on percentage. The percentage number that the calculation is done is to 4 decimal places.
eg 10.4755%. I need to increase the number to 6 decimal places. I figured it was easy using this article on increasing the scale in column properties.
(Right click table, select design and then go to column properties)
http://msdn.microsoft.com/en-us/lib...
However, the column I am looking at which has the percentage, does not have scale in column properties.

I can see the figure I want to change when I look right click column and select properties but I cant see it in the design column properties view.

Can someone suggest how I can figure this out, other then hire in a dba who will charge me through the nose (which is very tempting)

Thanks

Jonobr



Sponsored Link
Ads by Google

Response Number 1
Name: lumpy
Date: September 17, 2008 at 11:22:01 Pacific
Reply:

I found an answer to this on another forum.
(You know, sometimes you just need to walk away for a while)
If the datatype is Money, the scale is set at 4 and cant be changed.

http://groups.google.co.uk/group/mi...


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Database Forum Home


Sponsored links

Ads by Google


Results for: MSSQL 2005 change scale in column

script change column 22 www.computing.net/answers/dbase/script-change-column-22/535.html

Oracle Column Data Convertion www.computing.net/answers/dbase/oracle-column-data-convertion/306.html

changing color in excel www.computing.net/answers/dbase/changing-color-in-excel/543.html