Category: Blog

  • Daily Coping 14 May 2020

    I’ve started to add a daily coping tip to the SQLServerCentral newsletter, which is helping me deal with the issues in the world. I’m adding my responses for each day here.

    Today’s tip is today do something to care for the natural world.

    Living on a ranch, I do more of it than I might otherwise need to do. A couple things I’ve done this week, not today. I needed to change the oil in a vehicle, so I did so and captured the used fluid, making a trip (with a mask) to recycle it.

    I also spent some time working on caring for the lawn and shrubs, trying to keep things healthy. I need to take out a few old shrubs, some dead, and then I want to replant some trees, growing something for the future.

  • Installing the #SQLPrompt Public Preview in ADS

    The SQL Prompt Public preview extension for Azure Data Studio is out and you can add this easily. This is a quick post showing a few ways to install an extension to the tool.

    First, download the preview from here. Unzip the file and you should have a file named sql-prompt-0.2.0.vsix on your filesystem.

    Now, from Azure Data Studio, you have a few choices. The File menu includes an Install Extension from VSIX option.

    File menu in ADS with extension install highlighted

    If you have the Extensions pane open, there are three dots in the upper right. Click them and there is an “Install from VSIX” option.

    Extension context menu

    For now the SQL Prompt extension is not in the marketplace, but it is coming. Many third party marketplace extensions will also have you download a VSIX file, so this method works for those as well.

    Click the menu item from either source and a file browser will open. Find your SQL Prompt VSIX file and click it. You will get a third party warning in the lower right side of ADS. Click Yes to install.

    third party extension warning dialog. Click yes to install

    This will install quickly and you will get a notice it is installed in the lower right.

    install notice from ADS

    Then you can begin using the extension. CTRL+Shift+P brings up some command palette, and if you type SQL Prompt, you’ll see some of the options.

    SQL Prompt options in the command pallette

    I’ll explore some of these items in future posts.

    I’ve added a short video of this post on the Redgate YouTube channel: https://youtu.be/jplENuTg7Qo

    Installing SQL Prompt into ADS
  • Adding Analysis Services (SSAS) to your SQL Server instance–#SQLNewBlogger

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

    This is a fairly simple task, but recently I needed to test something in SSAS. I hadn’t installed this on my machine, so I had to add it. It’s simple, but worth a quick post.

    The way to add SSAS (Analysis Services) to your instance is to run the setup program for SQL Server. When you do this, pick the Installation tab from the left menu.

    2020-04-30 11_08_06-SQL Server Installation Center

    From here, I want the first item (New SQL Server stand-along installation or add features to an existing installation). SSAS is a new feature.

    When this starts moving, be sure you stop on the Installation Type screen and move the radio button to the “Add features” item.

    2020-04-30 11_08_42-SQL Server 2019 Setup

    The next screen is where you will check the Analysis Services box.

    2020-04-30 11_09_26-SQL Server 2019 Setup

    You will then get an SSAS config screen. In my case, I was testing something with the Tabular model. If you don’t know which to choose, you need to research this. Here are a couple links:

    You also need an account here. I typically add my local account here for dev machines.

    Don’t forget to reset the data directory if you need to do this.

    2020-04-30 11_09_53-SQL Server 2019 Setup

    That’s it. Let the setup run and you’ll have SSAS installed.

    2020-04-30 11_12_38-SQL Server 2019 Setup

    How do you check? That’s another post.

    SQLNewBlogger

    This is a really simple task, but it’s something that you should be familiar with. I needed to do this, and just documented my task, this one simple thing.

    This can drive interviewers to ask about how I did this, why, what I tested, etc. This helps control the interview and the direction in which someone might query your knowledge.

    As you do small tasks, write about the specific task. If you want to cover what you did after this task, write a second post.

  • Daily Coping 13 May 2020

    I’ve started to add a daily coping tip to the SQLServerCentral newsletter, which is helping me deal with the issues in the world. I’m adding my responses for each day here.

    Today’s tip is to be grateful for the little things, even in difficult times.

    This is one of those things I try to do often. Even when I’m stressed or in a hurry or upset, I have found if I can stop and look at something that has gone well, I can better cope. I might not be happy, but I can reduce some of the difficulty.

    The more I interact with people in this pandemic, the more I am thankful for the ranch on which I live. It can feel a bit stifling at times, but I have plenty of space to enjoy the outdoors. This is my view, relaxing on the front porch with a guitar. Most everything you can see is mine.

    20200428_194625_HDR

    I’m also grateful for my guitar, which I enjoy just strumming (poorly) away on and enjoying some quiet time.