A New Word: Mornden

mornden – n. the self-container pajama universe shared by two people on a long weekend morning, withdrawing from the world and letting the hours slow to a crawl, coming as close as they’ll ever get to pausing the flow of time, even as they know it’ll eventually rush back in all the faster.

My wife and I used to enjoy mornden early in our relationship. We’d get the Sunday paper, make breakfast, and lay around, reading, relaxing, enjoying the morning. These days, no paper, but we do try and get a couple mornings a week where we sleep in a bit, lay in bed, chat, read, just relax.

We are both (too) type-A and are very busy. Taking a some time to relax each week, pausing time for a few hours, is good.

Life certainly rushes in fast when we get back to it.

From the Dictionary of Obscure Sorrows

Posted in Blog | Tagged , | 1 Comment

Republish: Boring or Scripting

I’m off to Live 360 today in Orlando, flying early (I should be somewhere over Texas or Louisiana by now), and busy at the event.

So you get to re-read Boring or Scripting, which describes a bit about my career. I don’t get bored, I find ways to keep busy and make my job better.

Posted in Editorial | Tagged | Comments Off on Republish: Boring or Scripting

Using SQL Compare with Read-only Access

Recently a customer asked if SQL Compare and SQL Data Compare can be used with a read-only database as a source. It’s a good questions as I’ve seen some tools that create temp tables or do some other work in a source database, which might cause problems. Certainly someone running SQL Compare against production would want to ensure it works as a read-only application.

This post will look at SQL Compare with a read-write database but a user account with read-only access. My previous post looked at a read-only database.

This is part of a series of posts on SQL Compare.

Setup

I’ve got a couple of databases that I use for Compare demos. In this case, compare5_prod and compare1. The compare5_prod is set to read write, which is normal.

2024-10_0110

I created a new login, which will default to the Compare5_prod database.

2024-10_0107

This login maps to a user, which has read only rights in the database.

2024-10_0109

In my compare setup, I’ll use this login to connect to the database.

2024-10_0111

As you can see below, Compare works fine, even reading the various system metadata tables:

2024-10_0113

This works because SQL Compare is not writing anything to the database. We read metadata and then process that in-memory on the client before returning the results.

You can see this also works in SQL Data Compare. Here’s the connection:

2024-10_0115

And here are the results

2024-10_0114

Summary

This was a very simple example, but I find that clients always would prefer to see examples already completed and proof that something works when they are evaluating software. Hopefully this helps answer this question.

SQL Compare is an amazing tool that millions of users have enjoyed for 25 years. If you’ve never tried it, give it an eval today and see what you think.

Posted in Blog | Tagged , , , | Comments Off on Using SQL Compare with Read-only Access

Off to Live 360

I am off to Live 360 today, on my last trip of the year. I’m excited to deliver two presentations tomorrow (VSTH03 and VSTH12), but a little sad this is a very quick trip. I’m coming back Friday, so in total I’ll be in Orlando for about 43 hours, I need to sleep, so my time is less than that.

I haven’t been to this conference in a few years, but I’m looking forward to going back, even though it’s a short trip. I always enjoy these multi-tech conferences because I get the chance to learn something completely out of my area. In my limited time, I’ll learn about Shift Left DevOps security, because it’s interesting and Brian is a friend. I will also try to hit a GraphQL session since I know nothing about it and it works with various db stores. If I can, I might do some prompt engineering as well.

If you’re at the event, I’ll try to swing by Wed afternoon and be there all day Thur. Feel free to stop me and say hi.

Posted in Blog | Tagged , , | Comments Off on Off to Live 360