{"id":3533,"date":"2012-04-24T03:40:00","date_gmt":"2012-04-24T03:40:00","guid":{"rendered":"https:\/\/test.simple-talk.com\/uncategorized\/ever-wondered-what-the-object-explorer-details-window-is-for\/"},"modified":"2021-08-10T10:25:42","modified_gmt":"2021-08-10T10:25:42","slug":"ever-wondered-what-the-object-explorer-details-window-is-for","status":"publish","type":"post","link":"https:\/\/www.red-gate.com\/simple-talk\/blogs\/ever-wondered-what-the-object-explorer-details-window-is-for\/","title":{"rendered":"Ever wondered what the Object Explorer Details window is for?"},"content":{"rendered":"<p>Typically, when I install SQL Server Management Studio and run it for the first time, the first thing I do is to close the Object Explorer Details window. After all, it doesn&#8217;t seem to serve a useful purpose, duplicating information that already exists in the Object Explorer.<\/p>\n<p>However, I have discovered that it has one important redeeming capability, the ability to allow multi-selection by holding the <strong>ctrl <\/strong>or <strong>shift<\/strong> key depressed during the selection.<\/p>\n<p><a href=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/blogbits\/david.atkinson\/Ever-wondered-what-the-Object-Explorer-D_EFF3\/clip_image001.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/blogbits\/david.atkinson\/Ever-wondered-what-the-Object-Explorer-D_EFF3\/clip_image001_thumb.png\" alt=\"clip_image001_thumb.png\" width=\"499\" height=\"227\" \/><\/a><\/p>\n<p>Why is this useful?<\/p>\n<p>If I want to rename an object, or indeed make any textual modification to a number of stored procedures, I can simply script as drop\/create, do a search\/replace, and click execute to apply the changes.<\/p>\n<p>The slight problem with this approach is that you have to tackled it by object-type. If I want to to use SQL Prompt&#8217;s Format SQL feature to format a range of different objects in my database (stored procedures, views and so on), I can instead use SSMS&#8217;s <strong>Generate scripts<\/strong> features to script them all to a single query window, apply my formatting changes to all objects, and execute the entire script. I show how to do that in my blog post, <a href=\"https:\/\/www.red-gate.com\/hub\/product-learning\/sql-prompt\/sql-formatting\">How to format a set of SQL scripts using SQL Prompt<\/a>.<\/p>\n<p>No doubt there are other benefits to multi-selection, or indeed the Object Explorer Details pane. If you know of any, please post a comment on this blog post!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Typically, when I install SQL Server Management Studio and run it for the first time, the first thing I do is to close the Object Explorer Details window. After all, it doesn&#8217;t seem to serve a useful purpose, duplicating information that already exists in the Object Explorer. However, I have discovered that it has one&#8230;&hellip;<\/p>\n","protected":false},"author":48401,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[],"coauthors":[11329],"class_list":["post-3533","post","type-post","status-publish","format-standard","hentry","category-blogs"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/3533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/users\/48401"}],"replies":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/comments?post=3533"}],"version-history":[{"count":7,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/3533\/revisions"}],"predecessor-version":[{"id":92098,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/3533\/revisions\/92098"}],"wp:attachment":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media?parent=3533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/categories?post=3533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/tags?post=3533"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/coauthors?post=3533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}