25

Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

Embed Size (px)

Citation preview

Page 1: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,
Page 2: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

Top 20 Toolbelt Tips

Tom Austin, Red Gate

Page 3: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

About me

• Pre-Sales Engineer who has worked with Redgate SQL Server

tools since 2008.

• Worked with hundreds of clients across the globe, from start-

ups to FTSE/Fortune 100 companies and everything in

between.

• Specialises in helping clients to improve their approach to

Database Lifecycle Management (DLM)

• Recently been writing and delivering DLM training courses in

Europe and Asia

Tom Austin

Pre-sales Engineering

Page 4: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

SQL Toolbelt

Redgate's SQL Toolbelt contains the

industry-standard products for SQL

Server development, deployment,

backup, and monitoring.

Together, they make you productive,

your team agile, and your data safe

Page 5: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

1. Colour code your databases

Page 6: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

2. Find your dependencies

Page 7: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

3. Standardise your layout

Page 8: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

4. Standardise your code

Page 9: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

5. Undo Changes

Page 10: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

6. Find references quickly

Page 11: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

7. Don’t write documentation…ever

Page 12: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

8. Spot drift before someone else does

Page 13: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

9. Never lose a query

Page 14: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

10. Quickly fill a table for testing

Page 15: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

11. Customise your generated data

Page 16: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

12. Run your queries once

Page 17: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

13. Banish wildcards!

Page 18: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

14. Clean up your database

Page 19: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

15. Customise your deployment scripts

Page 20: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

16. Script as insert

Page 21: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

17. Rename your alias

Page 22: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

18. Switch tools fast

Page 23: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

19. Follow best practices

Page 24: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

20. Never forget a where clause

Page 25: Top 20 Toolbelt Tips - Redgate · SQL Toolbelt Redgate's SQL Toolbelt contains the industry-standard products for SQL Server development, deployment, backup, and monitoring. Together,

“I didn’t know we had that”

“I didn’t realise that was in the bundle”

-Sooo many people I speak to!