Category: Blog

  • Speaking at the NYC Lunch and Learn–May 23

    In a couple of weeks, I’ll be in New York City for the Redgate DevOps Devour Hour Lunch and Learn. This is at the Industrious office at 730 3rd Avenue, which is a neat location near the tip of Manhattan.

    This is a half day event, from 12-430, with a short happy hour afterwards. I’ll be there, along with Kendra Little and Erik Darling, talking a variety of different topics.

    • The SQL Server Performance Tasting Menu – Erik
    • A Tale of Two Clouds: What I Learned from Migrating from Azure SQL MI to Amazon RDS for SQL Server – Kendra
    • Designing Zero Downtime Database Deployments – me

    I’m excited to head back to NYC, which is always a fun trip for me. Even more exciting, Erik and Kendra are people who always get me to think with their views of how to work with databases effectively.

    My session will be a mix of tech demos and tips/tricks on how to better make changes to your database systems without interrupting customers.

    You can register today and I’ll see you in a few weeks.

  • SQL Saturday New York City 2025 is Back!

    After missing last year, SQL Saturday New York City is back in 2025. I’m excited to go to the event and honored to speak there. I love visiting New York and I’m looking forward to the trip, as is Mrs Way0utwest, who is coming along for a little vacation. Hopefully we’ll find a fun show to see Saturday night.

    There is a precon this year from Andreas Wolter, longtime SQL Server Program Manager  at Microsoft. It’s on practical performance tuning and troubleshooting, and you can register and attend on Friday.

    Saturday has a great schedule the includes a wide variety of topics. Data virtualization, Power BI, development in a 24/7 environment, Cost optimization, and of course, a lot of Fabric. I’ll be talking about the Data API Builder, which is a cool piece of tech to quickly get those CRUD apps going.

    Pass the word, and come into the city on May 11 for a fun event. Register today and I’ll see you later this week.

  • Create a Linked Server: #SQLNewBlogger

    I had a customer recently that was asking about Linked Servers and some development advice. I was going to show them a few things and realized I hadn’t created a linked server in my demo environment, so I did it and decided to create a quick post on this.

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

    The Scenario

    I have a few demo instances of SQL Server in my local environment: Aristotle and Aristotle\SQL2022. In this case I was connected to the named instance, and decided to create a connection to Aristotle. As you can see, I don’t have any linked servers in the named instance.

    2025-04_0125

    To create a linked server, I can use this simple code:

    EXEC master.dbo.sp_addlinkedserver   
         @server = N'Aristotle',   
         @srvproduct=N'SQL Server';  
    GO

    This creates the linked server (as you can see below), with a number of defaults. In this case, the security is made with whatever login queries the linked server.

    2025-04_0126

    You can see the security properties here:

    2025-04_0127

    This might be OK in your enviroment, or it might not be. Perhaps you need to ensure everyone querying the remote server uses the same login. In which case, the sp_addlinkedserver procedure doesn’t do this. You would need to use sp_addlinkedsrvlogin to do that. That’s for another post.

    NOTE: Be sure you understand what a linked server does, how to use it, and the downsides. There are many and this can slow down your application or overload servers

    I can test this connection by right clicking the Linked Server in SSMS:

    2025-04_0128

    This works, as expected.

    2025-04_0129

    I can also run a query through the linked server, using 4-part naming with the linked server, then the database, schema, and table. This also works:

    2025-04_0160

    That’s it to get started. I recommend you be careful when using linked servers as this creates a bit of a tight coupling and makes development harder. I might recommend you get away from querying database server to database server when possible and let an application do this work if it’s possible.

    SQL New Blogger

    Linked Servers aren’t that common, but they aren’t rare. This is a skill that SQL Server people should have and understand a bit about. This post is very basic, but it provides a jumping off point where I could write a number of other posts related to linked servers and perhaps guide an interviewer along a path of asking me about them. I certainly showcase some knowledge here if someone asks me if I’ve ever created one.

    This post took me about 10 minutes to test and write, and you could probably do this in your environment. You don’t even need to servers, as you could create a loopback linked server.

  • SQL Saturday Austin 2025 Slides

    My slides for SQL Saturday Austin are here: ArchitectZeroDowntime_SQLSatAustin2025

    The repo is here: https://github.com/way0utwest/ZeroDowntime

    If you have questions, let me know.