Remove decimal places without rounding

There was a script here not too long ago which showed how to 'truncate' a number to two decimal places without rounding. This used a lot of casts to varchars and back.The solution worked, but I knew there had to be a way of doing exactly this without having to go back and forth between […]

2005-08-08 (first published: )

449 reads

Blogs

How Many Bytes Per Character in SQL Server: a Completely Complete Guide

By

A Completely Complete Guide to how many bytes are used to represent characters in...

Power BI Monthly Digest – November 2019

By

In this month’s Power BI Digest Manuel Quintana [Blog | Twitter] and Mitchell Pearson...

Data Masker Reads Column Classificiations

By

One of the newer features in Data Masker for SQL Server is the ability...

Read the latest Blogs

Forums

Numeric and Decimal

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Numeric and Decimal, which is...

Logins while migration.

By sizal0234

Hi This is when you are migrating from old server to new server. Is...

VM and SQL core license

By sqlfriend

I am using SQL server 2017 standand edition. We installed on a virtual machine....

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers

Question of the Day

The CTE Insert

See possible answers