Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Tools and Tips For Data Warehouse Developers (SQLSaturday Slovenia)

831 views

Published on

Tools and Tips For Data Warehouse Developers (Presented at SQLSaturday Slovenia on December 9th 2017)

Published in: Data & Analytics
  • Be the first to comment

Tools and Tips For Data Warehouse Developers (SQLSaturday Slovenia)

  1. 1. Tools and Tips For Data Warehouse Developers Cathrine Wilhelmsen · SQLSaturday Slovenia · December 9th 2017
  2. 2. Thank you to our AWESOME sponsors!
  3. 3. Cathrine Wilhelmsen @cathrinew cathrinew.net Data Warehouse & Business Intelligence Geek
  4. 4. Experience? T-SQL? SSIS? you… DEsP
  5. 5. once upon a time...
  6. 6. V
  7. 7. how I felt…
  8. 8. how I want to be...
  9. 9. SSMS & SOS Free Scripts and Resources Biml for SSIS what? DgRw
  10. 10. Visual Information in SSMS
  11. 11. Connection Colors
  12. 12. Status Bar and Tab Text
  13. 13. Results in Separate Tab
  14. 14. Tab Groups - Vertical
  15. 15. Tab Groups - Horizontal
  16. 16. Split one query in two windows
  17. 17. Pin Tabs
  18. 18. Shortcuts in SSMS
  19. 19. Query Shortcuts
  20. 20. Keyboard Shortcuts docs.microsoft.com/en-us/sql/ssms/sql-server-management-studio-keyboard-shortcuts Assign shortcuts you frequently use Remove shortcuts you accidentally click (no more "ooops")
  21. 21. o HOME END PG UP PG DNCTRL ALT SHIFT TAB Magic keys!
  22. 22. CTRL R Show / Hide Query Results
  23. 23. ALTSHIFT ENTER Toggle Full Screen
  24. 24. TABCTRL Cycle through windows
  25. 25. CTRL U Change database
  26. 26. SHIFTALT Column / Multi-Line Editing
  27. 27. CTRL K CTRL C Comment Line CTRL K CTRL U Uncomment Line Comment / Uncomment
  28. 28. CTRL SHIFT V Last 20 text items copied are saved in memory Cycle through them to paste the text you need Clipboard Ring
  29. 29. Too many shortcuts? Use Quick Launch! …or just ALT + Keyboard! ALT Q
  30. 30. Keyboard Shortcuts Cheat Sheet am2.co/shortcuts by Andy Mallon (@AMtwo)
  31. 31. SSMS Shortcuts and Secrets SQLWorkbooks.com/SSMS by Kendra Little (@Kendra_Little)
  32. 32. Templates and Snippets in SSMS
  33. 33. Template Browser Create Templates CTRL ALT T Templates
  34. 34. Replace Template Parameters with actual values CTRL SHIFT M Template Parameters
  35. 35. CTRL K CTRL X Insert Snippet CTRL K CTRL S Surround With Snippet Snippets
  36. 36. Redgate SQL Prompt (Licensed) ApexSQL Complete / Refactor SSMS Tools Pack (Licensed) SSMS Boost Poor Man's T-SQL Formatter dbForge SQL Complete (Licensed) SQL Formatter SqlSmash red-gate.com apexsql.com ssmstoolspack.com ssmsboost.com poorsql.com devart.com/dbforge sql-format.com sqlsmash.com Advanced Snippets and Formatting
  37. 37. Search in SSMS
  38. 38. Free Tool: Redgate SQL Search red-gate.com/products/sql-development/sql-search/
  39. 39. Free Tool: Redgate SQL Search
  40. 40. Redgate SQL Search ApexSQL Search SSMS Tools Pack (Licensed) SSMS Boost SQL Hunting Dog red-gate.com apexsql.com ssmstoolspack.com ssmsboost.com sql-hunting-dog.com Tools: Search in SSMS
  41. 41. Query Analysis
  42. 42. Execution Plans Display Estimated Execution Plan CTRL L Include Actual Execution Plan CTRL M
  43. 43. Execution Plans See how a query will be executed:
  44. 44. Details in Tooltips
  45. 45. Details in Properties
  46. 46. Live Query Statistics Include Live Query Statistics
  47. 47. Live Query Statistics Include Live Query Statistics
  48. 48. Free Tool: SQL Sentry Plan Explorer sqlsentry.com/products/plan-explorer
  49. 49. Free Tool: SQL Sentry Plan Explorer answers.sqlperformance.com
  50. 50. red-gate.com/books Free Book: SQL Server Execution Plans by Grant Fritchey
  51. 51. Query Statistics
  52. 52. Statistics IO SET STATISTICS IO OFF; SET STATISTICS IO ON;
  53. 53. Statistics Time SET STATISTICS TIME OFF; SET STATISTICS TIME ON;
  54. 54. Free Tool: Statistics Parser statisticsparser.com by Richie Rump
  55. 55. Client Statistics Include Client Statistics SHIFT SALT
  56. 56. Client Statistics Compare multiple query executions:
  57. 57. Activity Monitoring
  58. 58. whoisactive.com Free Script: sp_WhoIsActive By Adam Machanic
  59. 59. Free Script: sp_WhoIsActive whoisactive.com By Adam Machanic
  60. 60. SSMS vs SOS
  61. 61. SSMS vs SOS SQL Server Management Studio Integrated Environment GUI and Scripts Windows SQL Operations Studio Lightweight Keyboard-focused Windows, Linux, macOS
  62. 62. Shortcuts in SOS
  63. 63. Keyboard Shortcuts CTRL K CTRL S
  64. 64. Command Palette CTRL SHIFT P
  65. 65. Snippets in SOS
  66. 66. Built-in Snippets
  67. 67. Custom Snippets
  68. 68. Demo: SOS
  69. 69. Biml for SSIS
  70. 70. Of course I can create 200 SSIS Packages! …what do you need me to do after lunch?
  71. 71. Business Intelligence Markup Language Easy to read and write XML language Generate SSIS packages from metadata
  72. 72. What do you need? Free Visual Studio add-in varigence.com/bimlexpress Free online Biml editor bimlonline.com
  73. 73. How does it work? Create many SSIS packages from one Biml file
  74. 74. Demo: Biml for SSIS
  75. 75. Where can I learn more? Free online training bimlscript.com
  76. 76. Biml on Monday… …BimlBreak the rest of the week!
  77. 77. @cathrinew cathrinew.net linkedin.com/in/cathrinewilhelmsen hi@cathrinew.net slideshare.net/cathrinewilhelmsen Not enough details? Too fast? Don't worry! cathrinew.net/efficient

×