Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in SQL by (20.3k points)

How do you write a number with two decimal places for sql server?

1 Answer

0 votes
by (40.4k points)

Try the below code:

SELECT CONVERT(DECIMAL(10,2),YOURCOLUMN)

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

29.3k questions

30.6k answers

501 comments

104k users

Browse Categories

...