We’re a bit sports crazy here at AKAWN. There is nothing quite like the roller coaster of emotions that it delivers.
#BringTheCupHomeBoys
SSMS Include Client Statistics
Troubleshooting performance issues can be challenging and more so when 1 user has issues and another doesn’t for the same application and they both sit in the same room.
This is where SSMS Include Client Statistics may come in handy.
Enable the option and run the query causing issues on both users machines.
Possibly you the results will help point you in the correct direction i.e. network path issues etc..
Remember to unselect the option when finished as it adds extra overhead when used.
Windows Server Semi-annual Channel
Yes as detailed here
“There will be two primary release channels available to Windows Server customers, the Long-term Servicing Channel, and the new Semi-annual Channel.”
When installing SQL Server the key thing to remember is:
“Windows Server products in the Semi-annual Channel will have new releases available twice a year, in spring and fall. Each release in this channel will be supported for 18 months from the initial release.”
18 months = 1.5 years so not very long and given that SQL Server releases are typically every 2 years, I’m not sure how viable this the new Semi-annual Channel will be for hosting SQL Server. Time will tell.
(source Microsoft)
What is really interesting is that, to me, it appears that Microsoft may have gone from a market leader to a follower, I could be wrong:
- Cloud
- Linux
- Open Source
- Docker
- Git
- Channels
- Core licences
- …
.NET 4.7 WU, WSUS and MU
Here at AKAWN we’ve been busy working on our first application which we hope to release later this year.
Having purely been focused on SQL Server architecture, administration and consulting, it has been a real eye opener into the effort required to produce an application.
So to all those developers out there a big thanks for your efforts, you guys rock.
This post got a bit side tracked :) it was meant to advise that .NET Framework 4.7 is available on Windows Update, WSUS, and MU Catalog.
Power BI Report Server – June 2017 GA
In case you missed it, Microsoft Power BI Report Server – June 2017 GA is now available for download.
The release announcement can be found here and an embedded pricing guide has also been supplied:
Plagiarism
Wow, you never really grasp the meaning of plagiarism until it happens to you.
Recently a couple of AKAWN blog articles have appeared on a popular SQL Server website. The person has tweaked the wording and images but it is clearly a copy.
Copying other people’s work and passing it off as your own is NOT cool.
If this person, who I assume follows this blog, does it again, I won’t hesitate to out them. You’d think a MVP would know better.
As an absolute minimum, a reference should be made to the source of your content when using another person’s work.
datediff and datepart abbreviations
When working with dates/times it can sometimes get a bit confusing when abbreviation options are introduced e.g. abbreviations may pad 0’s,use 24hr (HH) vs 12hr (hh) etc.
This post is simply a confirmation that abbreviations in datediff and datepart do return the same value.
DECLARE @starts datetime = '2017-06-12 19:00:05' , @ends datetime = '2017-06-12 19:00:07'; SELECT DATEDIFF(ss,@starts,@ends) AS diff_ss , DATEDIFF(s,@starts,@ends) AS diff_s , DATEPART(ss,@starts) AS part_ss , DATEPART(s,@starts) AS part_s;
SSMS AutoRecover Location
By default, SSMS saves your queries every 5 minutes and keeps the info for 7 days.
I suspect this has saved many a DBA when unforeseen outages occur.
One quick way to get to this recovery location is shown below and is by right clicking on a Query tab:
As you may have noticed, this provides a quick access method to your hidden AppData folder.
Starting the SQL Agent from the command line
If you’ve attempted to start the SQL Agent from the command prompt you likely would have received the following message:
It is possible to run the Agent, you just require arguments i.e.
- -c which allows you to use the command prompt, so always required
- -v optional verbose mode which includes the standard SQL Server Agent error log entries
- -iinstancename if you are using a named instance
Below shows with -c used for a default instance
Yes there will probably be times when you’ll need to use the above to troubleshoot Agent issues.
CTRL + C will stop the Agent.
SSMS incremental upgrades
You may have noticed that SSMS 17.1 now offers an upgrade package for existing SSMS 17.0 installs.
So what’s the difference? Roughly 400MB.