Viewing 15 posts - 871 through 885 (of 7,187 total)
According to the documentation:
The view contains one row per query statement within the cached plan, and the lifetime of the rows are tied to the...
February 22, 2018 at 3:59 am
February 22, 2018 at 2:05 am
If stats are out of date, the query optimizer is more likely to make a poor choice of execution plan. The query will take longer to run and deadlocks will...
February 21, 2018 at 9:53 am
That's one reason, but the main reason is that you don't have statistics on temp tables (except, I assume on indexes created at declaration time). That means that the query...
February 21, 2018 at 9:26 am
(1) You can have an index on a table variable, provided it supports a primary key constraint that's created at the same time as the variable declaration
(2) Table scans...
February 21, 2018 at 8:43 am
Gerald
Yes, that may be the reason. Or it may be a Windows thing. Maybe Windows doesn't bother adding explicit privileges to the ACL for accounts that are already...
February 21, 2018 at 5:47 am
It might be easier to change the service account to another account, then change it back to the original. Make sure you do this in SQL Server Configuration Manager, so...
February 21, 2018 at 5:31 am
Please will you post some table DDL, sample data and expected results? Your query will return the same row count in every row, which I suspect isn't what you want.
February 20, 2018 at 8:11 am
We have SQL Server 2012, On production database SQL job update Stats and Index Organize taking...
February 20, 2018 at 3:20 am
You can't use TOP in the SET clause. You can try something like this - you may have to include GTM_DOC_PROD in the subquery and tweak the PARTITION BY clause...
February 19, 2018 at 8:25 am
I want to export data from one table to another using export and import...
February 19, 2018 at 7:12 am
Goodness! You live and learn. Thanks, Beatrix.
John
February 9, 2018 at 8:06 am
I think that's probably as good a definition as any. I'm not sure precisely how Microsoft defines it.
John
February 9, 2018 at 6:23 am
February 9, 2018 at 4:26 am
Viewing 15 posts - 871 through 885 (of 7,187 total)