Tag: Redgate

  • Building Better Test Data on the Redgate Hub

    I have a new piece published over at the Redgate Hub: Building Better Test Data with SQL Provision. Part of my job is helping people learn to use our products better, and provide not only solutions to issues, but also ideas that might help them think about new ways to use products.

    I’m a big believer in testing and having good test cases in your data. This piece gives a technique I’ve used in the past to ensure we test everything we need.

  • Updating to SQL Change Automation

    The SQL Change Automation release was early this week.  This is replacing ReadyRoll and our DLM Automation products, rolling them into a single product and is the first stage of unifying our state and migration based solutions.

    When I logged into Visual Studio and checked updates this week, I found a new item:

    2018-06-20 16_45_32-Extensions and Updates

    I selected this for upgrade, which replaces my ReadyRoll installation. Once I did this, it downloaded and I had to exit Visual Studio. That triggers the install.

    2018-06-20 16_47_12-VSIX Installer

    It’s a painless process, and when complete, I see the change in my projects.

    2018-06-20 17_08_14-New Project

    This works the same as the old ReadyRoll system, though there have been lots of updates to the product this year. The setup is a little better, giving you some help getting started. We have the obligatory welcome screen:

    2018-06-20 17_09_16-

    But after this, we help you understand a bit about what to configure. The next screen lets you see there is a development and deployment target that are needed, and these are used to try and ensure you realize you’re building a flow here.

    2018-06-20 17_09_22-

    There’s more work to be done, and certainly more information I can provide. Look for me to build some PoC type projects here soon to help you learn to get started.

  • Ten Years at Redgate

    This year was my 10th anniversary of working for Redgate. The actual date was a bit ago, but they held off my celebration until I came over. These are nice at Redgate, better than at some companies where I’ve seen someone in management just give a mention during a company meeting and a token gift. At Redgate we get a really nice gift, which was a Garmin Forerunner 645 for me.

    IMG_20180517_125604

    At Redgate, the CEO comes around and does a 5-10 minute speech on the person, with some of his thoughts and memories, and also shares some stories that others in the company have sent in. There is usually a few embarrassing notes, and in my case, I got this picture, which is likely one that everyone thought would generate the most red from me. It didn’t, though I don’t think there are any really embarrassing pictures or video for me.

    IMG_20180517_125721_523

    There was actually another 10 year anniversary the same day, for Tom Austin. He got a nice bike to ride, and got to share an embarrassing karaoke video with the company. Tom definitely turned red.

    It’s interesting because I’ve known our CEO for almost the entire lifetime of his company, since 2002. He was the first customer of mine at SQLServerCentral and now almost 16 years later I’m working for him.

    He had some nice things to share, and I also got to stand up and speak for a few minutes about my memories and the times I’ve enjoyed with the company. It was nice.

    I also got a large custom card, full of photos. Some memories from it:

    A goofy picture at some event. I saw a camera and made a face. It’s also neat to see myself dressed up for our annual awards at Christmas.

    IMG_20180517_132338

    So much of my time at Redgate has been events, many of which have gone off amazingly well thnks to the efforts of Annabel (center below). She and I have traveled all over the world to lots of cities, venues, restaurants, and even a few running trails. My boss, Alice (below right) has been to a few, and we’ve shared lots of good times. Sometimes that wears me out.

    IMG_20180517_132342

    SQLServerCentral is most of my career, but I definitely to get the chance to interact with customers and talk about our products. Of course, I’m on lots of stages, some of which are like speaking in a movie theater, which I’ve done as well.

    IMG_20180517_132350

    The great Grant photo, but also some good trade show memories. My wife on stage with me at the Christmas awards. I’m thankful for all her support.

    IMG_20180517_132347

    The current evangelism team. It’s a goo done. Not sure where I got that hat, but it certainly fit with my outfit at the Pass Summit. I also have enjoyed the times I’ve traveled with Carly to lots of events. She is amazing, and I miss her support and work ethic this year as she’s on maternity leave. At least she came to the office one day and let me hold little Elliot for an hour.

    IMG_20180517_132332 (1)

    I assume the top photos are from our 2012 SQL in the City tour of the US. The second one certainly is Chicago. Another great awards photo, which I was honored to host with our CEO last year.

    IMG_20180517_132327 (1)

    And the infamous horse photo. For one of our promotions, we wanted some different shots around Cambridge. At one point we went to a playground, and me being me, I jumped on a tow horse. The photo guy took at bunch after being slightly shocked at my antics.

    Planning

    We track these dates and a month or so before, the person’s manager needs to start collecting stories and planning a meeting for the employee’s anniversary. It’s a combination of a tribute and a roast, which the employee gets some input into. They pick their gift, since we want them to have something they’ll use. They also get to decide who comes, the entire company, one group, etc.

    What’s strange with me is that I don’t know a ton of people in Cambridge, since I’m in and out, and we’ve had decent turnover. The guy that had his party an hour before me invited quite a few people, maybe 50-60. One of our popular IT guys had probably the whole company in Cambridge, well over 100 people, for his event a year or two ago.

    I also can’t always remember who I know and don’t know, and it’s been a busy spring, so I decided to stick with my small Marketing group. I was more concerned I’d think to invite 20 people and then forget about 10 more, so a small ceremony for me. That’s fine, since I don’t love the individual accolades.

    The work, which is a few people at random times across a month, and a few others that stop to think about their time with the employee and share stories, isn’t a lot, but it’s also not insignificant. This is a distraction, but it also helps us bond and be a little closer, celebrating a milestone together.

    More companies could learn from this. It’s probably a $1000 ceremony with the gift, and certainly with the CEOs time, but it’s worth it.

  • Reaching the Refactoring Redoubt with #SQLPrompt

    I enjoy themes, and when I ran across the SQL Prompt Treasure Island, I had to take a few minutes and go through it. I wrote about Code Snippet Cove first, and this post finishes my movement around the map. The other items I’ve read about are:

    Refactoring is Hard

    One of the things that I struggle with, and I think many others do as well, is refactoring. Not that refactoring or changing code is hard, but remembering to get all the various places changed can be a challenge. It seems that any refactoring might change an item in three or four places, but then forget one more, which leads to bugs and embarrassment.

    Fortunately, SQL Prompt has a few things to help. Smart Rename is one of these, which will let you know about all of the dependencies and places where code will change. This makes quick work of renames, which is something I’ve appreciate in other languages, but not T-SQL before this.

    Note that renaming objects is still disruptive and can break connected applications, so this still should be undertaken with care, and in synchronization with renaming the objects in application code.

    There are also the renaming of variables, which can be helpful when you realize that your short or obscure names aren’t helpful to others on your team.

    Perhaps my favorite refactoring feature is the Encapsulate as New Stored Procedure. I think more people should be using stored procedures, and while we might experiment and develop code as a batch or query, we want to move this to a stored procedure. This feature makes this simple for developers, and it’s one you should ensure they know how to use.

    There are other items in the treasure map, many of which are useful, but you’ll want to practice with them and decide which ones are most useful and helpful in your daily work.

    If you haven’t tried SQL Prompt, download an eval today and give it a go. I bet you will love it and ask for your own copy.