Cool Hidden thing in SQL?

  • Hi

    I pressed some combination of keys in SQL Server Management Studio (i dont have a clue what I did)

    and it created this in comments in the Query editor window:

    /*

    AAAA AAAA AAAA AAAA RRRRR GGGG HH HH ######

    AA AA AA AA AA AA AA AA RR RR GG GG HH HH ######

    AA AA AA AA AA AA AA AA RR RR GG HH HH ####

    AAAAAA AAAAAA AAAAAA AAAAAA RRRRR GG GGG HHHHHH ##

    AA AA AA AA AA AA AA AA RR RR GG GG HH HH

    AA AA AA AA AA AA AA AA RR RR GGG G HH HH ##

    */

    I wonder if some frustrated MS developer put this in.

    Or could it be something to do with my RedGate SQL Prompt software - ive never seen it before?

    Does anyone know what key combination i need to press to get this really useful feature working regularly?!

    Also does anyone know of any quirky treasures the MS team have put in SQL for us to find?

    Cheers

    Rich

  • Yeah, that's from SQL Prompt. The Snippets function will do a bunch of work for you. Type cci and hit return.

    It fills out all the code needed for making a clustered index, Create Cluster Index, or cci.

    Try typing neo and hitting return.

    You typed yell.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • http://wiseman-wiseguy.blogspot.com/2009/01/redgate-sqlprompt-laughers.html

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 3 posts - 1 through 2 (of 2 total)

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