Viewing 15 posts - 1,186 through 1,200 (of 59,061 total)
It's like the ORDER BY in the second query. Do the ORDER BY using the column aliases for the SUMs rather than the SUMS themselves.
August 17, 2023 at 5:26 pm
The reason why the code doesn't produce an error can be found in the execution plan. Apparently, since SQL knows there's only 1 row, it never executes the ORDER BY. ...
August 17, 2023 at 5:09 pm
Trying to imagine a scenario where I worked with Jeff Moden and tried to call out his code...
Gosh... thanks for the very kind words but I'm far...
August 17, 2023 at 2:07 am
I've never seen anything like that from a CU before. What happens when you re-enable the jobs?
August 17, 2023 at 2:04 am
His name is "Hallengren". 😉
Hello SQL Experts,
Followed the guidance provided by Microsoft.
What guidance??? Be specific because, if they have to do with indexes, MS finally figured out what a...
August 17, 2023 at 1:59 am
Building a new logic may take time plus avoiding certain characters, or keeping a conversion table and when there no resource available, why don't you expand the field itself. ...
August 16, 2023 at 3:39 pm
Hi
In Sql Query or using Stored Procedure
Thanks
Such formatting can, indeed, be done in a query or stored procedure. My "Morning Report" emails I get from the servers are proof...
August 15, 2023 at 7:07 pm
Trying to imagine a scenario where I worked with Jeff Moden and tried to call out his code...
Gosh... thanks for the very kind words but I'm far from perfect. ...
August 15, 2023 at 6:50 pm
You'd think someone working in it would know how to ask for help properly..... developer just sent me.
"the UAT ETL server seems to be really slow this morning. Any...
August 15, 2023 at 6:09 pm
I totally agree with Grant. IMHO, what he's recommending (AD Groups a.k.a. Active Directory Groups) is the only way to go on something like this.
August 14, 2023 at 1:55 pm
I can vouch for the settings that Johan mentions because those are the ones that changed my life for backups years ago. However, I've found that they actually make restores...
August 14, 2023 at 1:46 pm
Heh... Bing, Bard, BOOM! I've done some simple but non-basic tests on both and they've both failed miserably. Either the provide the wrong answer that wouldn't even run, produced the...
August 14, 2023 at 4:29 am
Hi Jeff,
I do not have force parameterization turned on. The sp passes two parameters as input. One is productcode varchar and locationid int. I checked the data and there...
August 13, 2023 at 10:27 pm
I had to laugh, in painful sympathy, at that last sentence, Grant.
Ha!
And we can keep going. Don't let Jeff get started on fragmentation. Don't let me get started...
August 13, 2023 at 6:00 am
Just to ask the question, the servers aren't set to automatically shut down for a part of the day, are they?
If not, you might want to make a call to...
August 13, 2023 at 5:52 am
Viewing 15 posts - 1,186 through 1,200 (of 59,061 total)