Category: Blog

  • Daily Coping 22 Sep 2022

    Today’s coping tip is to ask a trusted friend to tell you what strengths they see in you.

    On one hand this would seem easy. On the other, it feels very narcissistic. That means for me, this is tough to do. They might say something I didn’t expect, or not appreciate something I think I do well.

    A conundrum, but I’m taking a chance. I’m asking someone I know well what they think are the characteristics of me that are positive and useful. Here’s what I got back:

    • Someone who is analytical
    • Someone who gets things done
    • I bring people together
    • I can flex when needed
    • Good technical and business IQ
    • Not afraid to fail
    • Doesn’t need oversight
    • Passionate
    • Gives good hugs

    I particularly like the last one.

    I started to add a daily coping tip to the SQL Server Central newsletter and to the Community Circle, which is helping me deal with the issues in the world. I’m adding my responses for each day here. All my coping tips are under this tag.

  • Daily Coping 21 Sep 2022

    Today’s coping tip is to leave positive messages for yourself to see regularly.

    I could use post-its, or something else, but something that has worked well for me with these coping tips throughout the pandemic is make a short meeting in my calendar. It’s a good way to have something pop up on my phone/laptop with a note.

    Here are a few repeating things I’m adding to my calendar (personal, not work), that aren’t taking up time, but just are reminders.

      • I am getting better and better every day.
      • I am having a positive and inspiring impact on the people I come into contact with.
      • I am grateful for everything I have in my life.
      • I am getting healthier every day.

    These are good messages for me to remember. I’m repeating these some random number of days for 30 periods to see what I think.

    I started to add a daily coping tip to the SQL Server Central newsletter and to the Community Circle, which is helping me deal with the issues in the world. I’m adding my responses for each day here. All my coping tips are under this tag.

  • Checking Database Compatability = #SQLNewBlogger

    Recently I needed to check the compatibility level of a database and SSMS didn’t work. This is what I did in T-SQL.https://learn.microsoft.com/en-us/sql/t-sql/statements/alter-database-transact-sql-compatibility-level?view=sql-server-ver16

    Another post for me that is simple and hopefully serves as an example for people trying to get blogging as #SQLNewBRloggers. Here are some hints to get started.

    Querying the System

    I would have assumed I could use the DatabaseProperyEX() function to get this, but as I look through the list of properties, the compat level isn’t in there.

    When I look through the Docs for the compat level, I find that the page for database compatibility, the page mentions that querying a DMV is the way to check this. Seems strange, but I guess that’s what you do.

    Here’s the query:

    SELECT name, compatibility_level FROM sys.databases;

    Y0u can filter this by database name if you need it.

    I needed this as I was testing SQL Server 2022, but my SSMS version (18.10), didn’t recognize level 160. I assumed that was what should have been there, but I needed this query to verify.

    Now, hopefully I’ll remember that I just need to query the DMV.

    SQL New Blogger

    This was a quick post, really just over 5 minutes to write. It’s not super technical, but it does show that I can research something and solve a problem. And I have an alternative when my main tool doesn’t work.

    Good skills to showcase on a blog.

  • Daily Coping 20 Sep 2022

    Today’s coping tip is to find a caring, calming phrase to use when you feel low.

    Life is mostly good, but there are times I feel down, depressed, low, or sad. I’ve learned not to get too upset. If I start feeling off, sometimes I can stop things, sometimes not. I’m getting better, but often it’s my wife that helps reign me in.

    However, when I saw this tip, I thought that maybe a mantra of sorts might help me. I’m picking one of my wife’s favorite sayings, which my kids also use.

    “No babies are dying.”

    It’s a good way to stop and keep things in perspective. If babies might be dying, then this is really important and I need to pay attention. If I’m just annoyed, upset, sad, etc., it’s helps me find perspective.

    I started to add a daily coping tip to the SQL Server Central newsletter and to the Community Circle, which is helping me deal with the issues in the world. I’m adding my responses for each day here. All my coping tips are under this tag.