Viewing 15 posts - 106 through 120 (of 465 total)
Anyone?
The documentation for STGeomFromText only lists strings as possible inputs. How about using STUFF and FOR XML to build that string? It's a bit clunky, but it probably beats...
April 1, 2020 at 9:33 am
How well does this perform? I admit it's interesting, and shows techniques I didn't even know existed, but is it more complex than necessary?
I have always used a simple self-join...
March 30, 2020 at 9:59 pm
Thank you. Losing all data is NOT going to happen – I've got multiple backups all over the place, on-site and off. Transaction log every 15 minutes, differential every hour...
March 9, 2020 at 3:04 pm
Yes, I was trying to upgrade in place, over the existing installation, to avoid having to migrate everything. It's a fairly simple setup, but still, copying everything over manually is...
March 9, 2020 at 12:22 pm
But I think you've answered my question. If the indexed view will only be considered in Enterprise, then the extra columns are pointless, and my indexed view would be better...
March 4, 2020 at 10:32 pm
I'm still using 2008 R2 standard edition. But I'm looking at upgrading to 2014. Nothing newer will run on the OS this server has, and I don't know if I...
March 4, 2020 at 10:30 pm
The requirements are to look up and filter by conditions in the data, almost always at least partly by the letter. I would not use this filtered view directly, I...
March 4, 2020 at 10:03 pm
Yes, I can use the check constraint for the field. But I need the additional constraint of uniqueness for specific types of data, while not for others. I don't think...
March 4, 2020 at 7:54 pm
Looks great. Many thanks to both you and Mike - I had no idea this feature even existed (SQL Server is kind of overwhelming sometimes). This takes care of my...
March 2, 2020 at 10:00 pm
Thank you, Steve. I just looked at some intro tutorials. It doesn't seem as bad as I though at first. I enabled Filestream in the DB, according to instructions on...
March 2, 2020 at 8:09 pm
Hm, okay - that's an interesting idea.
This was originally an Access database (actually, it was initially a series of Excel spreadsheets, before I got involved), so packing this much attachment...
March 2, 2020 at 5:03 pm
March 2, 2020 at 4:19 pm
Look at what the resulting values are that come out of the hash match - in the first query the number of rows is less than what you see...
January 13, 2020 at 10:45 pm
Looking at the difference between plans:
The first plan utilizes an index scan using the index ix_TaxLok with no predicate. This results in an estimated row count of 124720 and...
January 13, 2020 at 9:36 pm
What happens if you create the suggested index? Do both queries use it?
Nope - nothing changed. The plan looks the same, the estimates are the same, and it even...
January 13, 2020 at 8:13 pm
Viewing 15 posts - 106 through 120 (of 465 total)