27
SQL Server Management Studio Tips and Tricks By Andrea Allred

Sql Server Management Studio Tips and Tricks

Embed Size (px)

Citation preview

Page 1: Sql Server Management Studio Tips and Tricks

SQL Server Management Studio

Tips and TricksBy Andrea Allred

Page 2: Sql Server Management Studio Tips and Tricks

Thanks to our Sponsors!Yearly Partners

Gold Sponsors

Silver SponsorsBlogger Sponsors: @SQLvariant

Page 3: Sql Server Management Studio Tips and Tricks

About Andrea:

Once upon a time in a kingdom not far away, Andrea was sick of answering phones and filing forms. Her kingdom was running low on gold and the wise wizard told her to find work that she loved and she would never truly work a day in her life. When she found the magical SQL Server, she knew it was the calling for her. She is passionate about SQL Server, “works” as a Database Administrator, is learning Sign Language, loves her #SQLFamily and finds joy in helping others find their passion too.

Wife to Ryan Allred and mom to two awesome teenagers. Loves Music, concerts, guitars, snowboarding, bouldering and acting. 16 years of SQL Server experience SQL SLC User group Chapter Leader [email protected] @RoyalSQL, www.RoyalSQL.com

Page 4: Sql Server Management Studio Tips and Tricks

What we will cover:SQL Server Management Studio I am using 2016, but many of

these things are in all versions beyond 2008.

Setting up your environmentCool ShortcutsOther cool tricks.

Page 5: Sql Server Management Studio Tips and Tricks

Setting up Your Environment

Page 6: Sql Server Management Studio Tips and Tricks

Changing Fonts and Colors

Page 7: Sql Server Management Studio Tips and Tricks

Keyboard Shortcuts Tools >> Options >> Keyboard >> Query

Shortcuts

Page 8: Sql Server Management Studio Tips and Tricks

Word Wrap and Line Numbers

Page 9: Sql Server Management Studio Tips and Tricks

Enable Intellisense

Page 10: Sql Server Management Studio Tips and Tricks

Saving Query Results to Your Location

Page 11: Sql Server Management Studio Tips and Tricks

Changing the default Select N or Edit N

Page 12: Sql Server Management Studio Tips and Tricks

Cool Shortcuts

Page 13: Sql Server Management Studio Tips and Tricks

Clicking, Dragging with Alt Shift

If you only remember one thing today, this is the thing.

Edit multiple lines at once.

Page 14: Sql Server Management Studio Tips and Tricks

CTRL F and CTRL H

F - FindH - Replace

Page 15: Sql Server Management Studio Tips and Tricks

Moving a line with Alt Shift T

It will move a line down as much as you want

CTRL-Shift T moves one word down

Page 16: Sql Server Management Studio Tips and Tricks

CTRL Enter and CTRL SHIFT ENTER

Adds blank lines below and above the line you are on.

Page 17: Sql Server Management Studio Tips and Tricks

CTRL –(Hyphen) and CTRL Shift –(Hyphen) Moving to last cursorMoves to the most recent cursor

positionOr the furthest most recent cursor

position In my testing it was a cycle of

Three

Page 18: Sql Server Management Studio Tips and Tricks

CTRL Shift V

Cycle through your clipboard Doesn’t have to paste the most

recent thingCycles through what you have put

on the clipboard

Page 19: Sql Server Management Studio Tips and Tricks

Other Cool Tricks

Page 20: Sql Server Management Studio Tips and Tricks

Edit and Select Top N Manipulation

Page 21: Sql Server Management Studio Tips and Tricks

Using Vertical and Horizontal Tab Groups

Page 22: Sql Server Management Studio Tips and Tricks

Undocking Tabs

Best use of real estate.Moving around as neededFree Floating

Page 23: Sql Server Management Studio Tips and Tricks

Removing White Space

Page 24: Sql Server Management Studio Tips and Tricks

Splitting a query Window

Page 25: Sql Server Management Studio Tips and Tricks

Doing multiple operations with Object Explorer Details

Page 26: Sql Server Management Studio Tips and Tricks

Questions?

Please also fill out the feedback forms. I would like to make this presentation better. Thank you for your time!

Page 27: Sql Server Management Studio Tips and Tricks

Thanks to our Sponsors!Yearly Partners

Gold Sponsors

Silver SponsorsBlogger Sponsors: @SQLvariant