Erik Darling

Results 51 comments of Erik Darling

This is kind of lame. The OPENJSON query doesn't work on pre-2017 compatibility levels. Just playing around a little this morning, I can pull out the recommended and regressed plans...

@ReeceGoding if you want to figure out what's going wrong and fix the actual issue, cool, but just changing a data type doesn't do that.

@chadbaldwin perhaps it would work better to normalize the column names and expressions first. I can't think of an awesome way to do that off the top of my head....

@chadbaldwin I haven't heard back on this in a while, so I'm going to close it out. If you want to add in anything, ping me and I'll re-open it....

There is a wait filter parameter, but the waits column is not sorted by it because it's not really suited for that. I'm open to alternate solutions, but it's not...

@ReeceGoding Oh I see, it's in the title but not in the body. Plan count might be cool, but I don't know if I'd go with the query id/plan id...

@ReeceGoding sort of like the plan cache, `query_store_plan` has `query_plan_hash` and `query_store_query` has `query_hash` I haven't tested it, and I don't have good production data to do it with, but...