SQL Query Analyzer - Replacement functionality

  • All

    I am using the new "integrated" query tool.    One of the features that I used all the time in the old Query Analyzer was "group comment" to comment out a highlighted block of text.  

    For those who didnt use it, here is the example

    1. Highlight a block of code in the old Query Analyzer.
    2. Hit <control> + <Shitf> + C
    3. Your highlighted bloc of code now has --  in front of every line

    to remove the comments

    1. Highlight a block of code in the old Query Analyzer.
    2. Hit <control> + <Shitf> + R
    3. Your highlighted bloc of code now has had the --  REMOVED from every line

    My question:  Is there a replacement or a new set of key strokes with this functionality?????

    Thanks in advance

    Eric

     

      

  • to add

    <Ctrl> + K + C

     

    to remove

    <Ctrl> + K + U

  • Thank You Mr Grizzly Bear, it works great

    Now I just have to re-train my fingers to type it....

    Thanks Again

    Eric 

     

  • If you want to keep the command the same as it was in 2000...

    Tools/Options/Environment/Keyboard/set keyboard scheme to SQL Server 2000

     

    Terry

  • Excellent

    This works better!

    Thanks

    Eric

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply