Hi Shailesh,
You cannot alter Money datatype for to have only 2 digits after decimal. Instead you can use decimal datatype there - decimal(n,2)
OR
Code:
select cast(7.005 as decimal(5,2))
But, if you are specific about using money datatype there, you got to convert it when you retrieve it from the database.
Code:
DECLARE @myVar money
SELECT @myVar = 7.005
SELECT CONVERT(varchar(10), @myVar, 1)
OR
Code:
SELECT CONVERT(varchar(10), MoneyColumn, 1) from YourTable
Hope that helps.
Cheers!
_________________________
- Vijay G
Strive for Perfection