Viewing 15 posts - 1,591 through 1,605 (of 7,608 total)
To be absolutely sure of correct matches, you'll need something to sequence the rows so that you know the specific order of the rows. I added an id for that,...
May 5, 2021 at 4:55 pm
Try this:
GRANT EXECUTE ON xyz.SPName TO LocalSQLaccount AS ADGroup;
May 5, 2021 at 2:43 pm
Scott, thanks.
Not sure that would work in our case, also not quite sure it it would address the ability to suppress certain reports and reset etc.
SQL alerts have...
May 3, 2021 at 5:56 pm
Thank you Scott for the help, this was very close but when I ran it, I got 8 hours of SICK twice for example # 1.
Thanks again !
DS
Oops,...
May 3, 2021 at 1:22 pm
Clustered index scans should definitely be adversely affected by masses of empty space in pages from deleted rows, since the scan will have to read lots more...
May 2, 2021 at 2:13 pm
See if this gives you the correct totals. I have not taken performance into consideration yet, just trying to get the correct result.
Be sure to add a date check to...
May 2, 2021 at 11:37 am
(1) Agree with ZZ.
(2) Yes, but you will also need to look at missing index stats at least, possibly cardinality data and index operations stats too.
(3) Yes, sort of. index...
April 30, 2021 at 9:24 pm
Unless your table is named "sol(nolock)", I would avoid using NOLOCK. It is in my coding standards that NOLOCK should be avoided except where potential data inaccuracy is acceptable...
April 30, 2021 at 9:14 pm
Note, too, that the OP did not indiscriminately use NOLOCK everywhere.
In fact, it was used on only 1 table out of 9 (or so).
To me, that is exactly the way...
April 30, 2021 at 6:02 pm
And I agree 110% with pietlinden on the NO LOCK hint. I would avoid using NOLOCK. It is in my coding standards that NOLOCK should be avoided except where...
April 30, 2021 at 4:50 pm
"The result is"
For you, but not for us! We don't have access to your tables nor do we know anything about them. We need actual usable data to test with,...
April 30, 2021 at 4:35 pm
Would it be feasible for you to use a different SQL Server Alert for each silo? That is, the Alert would be the same except for silo name, but you...
April 30, 2021 at 4:24 pm
When you plan to rebuild/reorganise an index you need to answer the main question:
What happens next?
Massive DELETEs on the table imply that there are as massive INSERTs.
What happens...
April 30, 2021 at 2:27 pm
For me it looks like a bug when driver converts parameter types like this.
I tend to agree with you there, I think it's a type of bug as...
April 30, 2021 at 2:23 pm
Thank you ScottPletcher, your method worked. The query was executed on remote server "as is". The only downside of this method is inability to use parameters. However, this...
April 30, 2021 at 2:17 pm
Viewing 15 posts - 1,591 through 1,605 (of 7,608 total)