Tag: syndicated

  • MeasureUp 2016

    I’m heading down to Austin next weekend for MeasureUp 2016. This is a Microsoft stack conference that looks to help people build custom business software.  There are over 20 sessions, most of them devoted to .NET topics. I think I’m more excited to be in some nice company and have the chance to sit in on some interesting talks.

    I’ve got the one database talk, Bringing DevOps to the Database. I’ll be looking at some of the ways in which we can change database development to be more agile, to fit in more with the way that most application developers build code.

    This builds on work I’ve done in the past, as well as a lot of work that Redgate has done across the last 4-5 years.

    If you’re in the Austin area, and you develop software, maybe you want to come down on Saturday for the event. It’s low cost, and the chance to meet with other software developers (and get out of the heat).

    Register today for MeasureUp 2016 and come shake my hand.

  • Getting Table Change Scripts–#SQLNewBlogger

    Another post for me that is simple and hopefully serves as an example for people trying to get blogging as #SQLNewBloggers.

    One of the really basic things I think everyone should understand is how to get scripts from Management Studio (SSMS) and saving them. In fact, I’ve written that everyone should use this button and really not ever execute their GUI changes. Capture the script, save that, and automate things.

    However, that’s not what this post is about. This post is about how you get a script to look at changes, or better understand how SSMS might implement your changes.

    Editing a Table

    Let’s say that you want to redesign a table, so you Edit it in the SSMS Table Designer. Here, you can see I have small table with a few fields.

    2016-06-27 09_33_55-PLATO_SQL2016.EncryptionDemo - dbo.OrderDetail - Microsoft SQL Server Management

    I want to rename the field with incorrect casing as well as insert an OrderDate column in the middle. I have made those changes below.

    2016-06-27 09_34_31-PLATO_SQL2016.EncryptionDemo - dbo.OrderDetail_ - Microsoft SQL Server Managemen

    Now, I’m not sure how these changes will be made in SSMS, and I certainly want to be careful in production. We want a script we can examine and approve.

    Certainly, I could use something like SQL Compare to generate a script between two databases. That would include transactions and error handling and more. That’s my preferred method. However, since not everyone has SQL Compare (a mistake! Winking smile ), let’s just use SSMS.

    Instead of saving, I’ll click this button.

    2016-06-27 09_37_09-PLATO_SQL2016.EncryptionDemo - dbo.OrderDetail_ - Microsoft SQL Server Managemen

    Or I’ll go to this menu item.

    2016-06-27 09_37_52-PLATO_SQL2016.EncryptionDemo - dbo.OrderDetail_ - Microsoft SQL Server Managemen

    Once I do that, after a warning, I get a script dialog.

    2016-06-27 09_39_28-PLATO_SQL2016.EncryptionDemo - dbo.OrderDetail_ - Microsoft SQL Server Managemen

    I can now save the script and then open it back  up in SSMS. I can see all the changes that the scripting engine thinks we should make.

    2016-06-27 09_41_29-OrderDetail.sql - (local)_SQL2016.master (PLATO_Steve (57)) - Microsoft SQL Serv

    This allows me to learn about one way to make these changes, as well as see things that might concern me, such as poorly named constraints and indexes.

    SQLNewBlogger

    This is a great productivity and learning technique, but also a core thing I’d hope most DBAs knew. You could certainly write about how you use this, or how this might have been helpful in a situation. Showcase your knowledge on this topic with the #SQLNewBlogger hashtag.

  • Getting Started with Database DevOps, DLM, and New Tools

    Next Tuesday is the next installment of our DLM series from Redgate. I’m off the hook, with Grant and Arneh showing off Git, Team City, and Octopus Deploy as the main tools. Register today and see how you can get started.

    We’ve been running this series for a year, with a focus on showing different tools being used to deploy database changes. Of course, we do showcase some Redgate tools from the Toolbelt, but the idea is to integrate with various other common development tools.

    68_dlm dashboard red wfillIf you’re looking for an easy way to get started, consider downloading and trying DLM Dashboard, a free tool to audit and monitor your database schemas.

    If you’ve missed any, you can see these combinations of Version Control, CI, and Release tools:

      Version Control Continuous Integration/Build Release Management/Deployment
    Webinar link Git TFS Build in VSTS Microsoft Release Management
    Webinar link TFSVC TeamCity Octopus Deploy
    Webinar link TFSVC Jenkins Octopus Deploy
    Webinar link Subversion (SVN) TeamCity Octopus Deploy
    Webinar link TFSVC TFS Build in VSTS Microsoft Release Management

    Feel free to watch any of these, or come to the next webinar and ask questions live. There are more resources in our DLM library.

    DLM really can help smooth your development and deployment process, reducing mistakes, and allowing you to deliver enhancements to customers faster.

  • Thanks, Karla

    I heard the news this week, and I’m still sad. Karla Landrum is leaving PASS after five years of acting as the Community Evangelist.

    Thank you, Karla, for all you’ve done.

    In the last five years, we’ve seen tremendous growth in the SQL Saturday franchise, as well as other chapters. Most of that has to do with Karla’s work ethic and success in supporting even organizers all over the globe.

    When Andy Warren and I transferred the SQL Saturday franchise to PASS, we were hoping that the organization would provide a bit more support and help in organizing events. Our expectations were wildly exceeded with tremendous growth in the number of events. In 2010, when we transferred the responsibility, there had been 26 events held. That was across the span from Oct 2007 to Mar 2010.

    2016-07-13 10_14_39-Book1 - Excel

     

    That tremendous growth in 2011-2015 is Karla. Even this year is on pace to exceed last year’s event total.

    All of you that have attended, spoken at, or learned something from a SQL Saturday should send a thank you to Karla for your tireless advocacy and help in ensuring that many of us could get free training almost every weekend somewhere in the world.

    Karla will be missed by many of us, and I just wanted to publicly thank her and let her know how much I’ve enjoyed working with her over the years.

    I hope PASS can find someone that can continue her work in growing our SQL Server community.