I am using SQL Server 2008 express, any reason?? however, if i convert to decimal(6,4) is work. e.g. Select CONVERT(decimal(6,4),'1.1234'); thanks you.
+2
A:
decimal(x,y)
x: total number of digits(max)
y: number of digits after decimal point(max)
thats why y<=x
Sadat
2010-07-17 08:18:50
+2
A:
decimal(Precision, Scale). The Precision number control the maximum number of digits on the left side of the period. The Scale specifies the maximum number of digits on the right side.
If you want 3 digits before decimal and 4 after decimal then
rate decimal(7, 4)
Muhammad Kashif Nadeem
2010-07-17 08:23:42