I am using the following to create a comma formatted number in T-SQL. How can I get rid of the decimal point and the digits after decimal. So if I get 1,112.00 after formatt
https://database.guide/how-to-format-numbers-in-sql-server/
Starting on SQL 2012 you can write:
SELECT FORMAT(ColumnName, 'N0');