Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Can SSMS be made to display a column wider? Expand / Collapse
Author
Message
Posted Thursday, July 18, 2013 7:30 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, July 8, 2014 1:39 PM
Points: 245, Visits: 735
When I select a column that has several 100 characters in it I need to "grab" the edge and drag it over so I can see all the string. Is there a way to make SSMS display all of the string, or at least more of it?

It would be nice is SSMS would/could redisplay data with whatever formatting it is currently on the screen instead of having to "grab the edge and draaaaag it over ..."


<><
Livin' down on the cube farm. Left, left, then a right.
Post #1475036
Posted Thursday, July 18, 2013 9:04 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, July 8, 2014 1:39 PM
Points: 245, Visits: 735
The functionality I would like is to be able to "right click" in the display panel and say "Lock display". When the session is closed, not just the display panel being hidden, the "lock" would clear. Anybody know how to communicate this $1M idea to MS?

<><
Livin' down on the cube farm. Left, left, then a right.
Post #1475078
Posted Thursday, July 18, 2013 9:32 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 9:28 AM
Points: 13,067, Visits: 11,906
There is probably an add-on somewhere that you can find for this...if not...you could write your own and reap the $1M rewards for yourself instead of MS.

_______________________________________________________________

Need help? Help us help you.

Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

Need to split a string? Try Jeff Moden's splitter.

Cross Tabs and Pivots, Part 1 – Converting Rows to Columns
Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
Understanding and Using APPLY (Part 1)
Understanding and Using APPLY (Part 2)
Post #1475097
Posted Thursday, July 18, 2013 4:20 PM


Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Yesterday @ 2:28 PM
Points: 786, Visits: 691
SSMS will size the columns of the width for the data that is displayed on the first page in the grid. To expand the size for the rows you are currently looking at, you can double-click on the split between the column and the next column in the column headers, just like you do in Excel.

Erland Sommarskog, SQL Server MVP, www.sommarskog.se
Post #1475234
Posted Friday, July 19, 2013 5:14 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, July 8, 2014 1:39 PM
Points: 245, Visits: 735
Sean Lange (7/18/2013)
There is probably an add-on somewhere that you can find for this...if not...you could write your own and reap the $1M rewards for yourself instead of MS.

I don't think I have ever seen any add-ons for SSMS, but maybe I was just not looking. Thanks for the insight, though obvious, obviously not to me.


<><
Livin' down on the cube farm. Left, left, then a right.
Post #1475380
Posted Friday, July 19, 2013 3:55 PM


Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: Yesterday @ 2:28 PM
Points: 786, Visits: 691
Tobar (7/19/2013)
[quote][b]I don't think I have ever seen any add-ons for SSMS, but maybe I was just not looking.


A lot of people I know swears by http://www.ssmstoolspack.com/ by SQL Server MVP Mladen Prajdić. Whether it is actually has the feature you ask for, I don't know, but there is a lot in it.


Erland Sommarskog, SQL Server MVP, www.sommarskog.se
Post #1475702
Posted Friday, July 19, 2013 5:38 PM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Today @ 8:55 AM
Points: 1,780, Visits: 5,654
Tobar (7/18/2013)
The functionality I would like is to be able to "right click" in the display panel and say "Lock display". When the session is closed, not just the display panel being hidden, the "lock" would clear. Anybody know how to communicate this $1M idea to MS?


The problem with this is that the results grid can change from one run to the next, so every time you run a query, you get a new grid and while you could theoretically save and restore the column widths between executions, it would be difficult and unreliable without some way to uniquely identify a result set.

You can get the grid to autosize a column (in an addin), but it will only take visible cells into consideration so I think your dream may be a long way off yet...

Edit: It turns out there is another private method that will resize taking all rows into account. That $1M may not be far away


MM


  • MMGrid Addin
  • MMNose Addin


  • Forum Etiquette: How to post Reporting Services problems
  • Forum Etiquette: How to post data/code on a forum to get the best help - by Jeff Moden
  • How to Post Performance Problems - by Gail Shaw

  • Post #1475715
    Posted Sunday, July 21, 2013 5:21 PM


    SSCommitted

    SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

    Group: General Forum Members
    Last Login: Today @ 8:55 AM
    Points: 1,780, Visits: 5,654
    Hi Tobar,

    If you would like to try out an addin for 2012, send me a PM with your email address.



    MM


  • MMGrid Addin
  • MMNose Addin


  • Forum Etiquette: How to post Reporting Services problems
  • Forum Etiquette: How to post data/code on a forum to get the best help - by Jeff Moden
  • How to Post Performance Problems - by Gail Shaw



  •   Post Attachments 
    Overview Sample.png (24 views, 56.10 KB)
    Post #1475844
    « Prev Topic | Next Topic »

    Add to briefcase

    Permissions Expand / Collapse