Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

decimal places correction

$
0
0
Hi All,

I want my numbers to be converted from a column which is of nvarchar(100) datatype to decimal(18,2).
How can I correct it?

select CONVERT(DECIMAL(18,2),'129399389')

--I' am getting output as
129399389.00

Viewing all articles
Browse latest Browse all 3145

Trending Articles