SQL SERVER – Right Aligning Numerics in SQL Server Management Studio (SSMS)

Posted by pinaldave on SQL Authority See other posts from SQL Authority or by pinaldave
Published on Tue, 27 Mar 2012 01:30:26 +0000 Indexed on 2012/03/27 5:34 UTC
Read the original article Hit count: 471

SQL Server Management Studio is my most favorite tool and the comfort it provides to user is sometime very amazing. Recently I was retrieving numeric data in SSMS and I found it is very difficult to read them as they were all right aligned. Please pay attention to following image, you will notice that it is not easier to read the digits as we are used to read the numbers which are right aligned.

I immediately thought before I go for any other tricks I should check the query properties. I right clicked on query properties and I found following option. I checked option Right align numeric values and it just worked fine.

Do you have any other similar tricks which do you practice often. I prefer to also include column headers in the result set as it gives me proper perspective of which column I have selected.

Sometime little tips like this helps a lot in productivity, I encourage you to share your tips. I will publish it with due credit.

Reference: Pinal Dave (http://blog.sqlauthority.com)


Filed under: PostADay, SQL, SQL Authority, SQL Query, SQL Server, SQL Server Management Studio, SQL Tips and Tricks, T SQL, Technology

© SQL Authority or respective owner

Related posts about PostADay

Related posts about sql