Viewing 15 posts - 2,566 through 2,580 (of 22,214 total)
Welcome to SQL Server Central.
It looks like the usual has occurred and you have a couple of good answers to your question. Never hesitate to ask follow-up questions. We like...
May 15, 2019 at 7:51 am
Your query is working. I tested it running this:
SELECT *
FROM Sales.SalesOrderDetail AS sod
WHERE sod.SalesOrderDetailID = 432;
And modifying the index to [IX_SalesOrderDetail_ProductID]. It worked fine.
So, the problem must...
May 15, 2019 at 7:43 am
Here's the bad news. You need both. If logically the UserName value is the business defined identifying value, you should have a unique constraint on it. This is what is...
May 15, 2019 at 7:15 am
The information is captured in system tables. You just have to query those and you're off and running. Take a look at sys.jobhistory. Then, to only get the longest one,...
May 15, 2019 at 7:09 am
@Grant: Can you provide me an example on how to do that using Query store or extended events or any article that you can point out that would help...
May 15, 2019 at 7:05 am
I'm doing a precon at Columbus.
SPEND YOUR MONEY!!!!!
May 11, 2019 at 1:56 pm
Here are a bunch of examples from my blog of using Extended Events to answer various questions. This should provide you with a bunch of what you're asking. I'll...
May 11, 2019 at 1:56 pm
Ah, interesting use of the tools. Unfortunately, I don't know of a way to do it. I'm not saying it can't be done, just that there's not a way I'm...
May 10, 2019 at 3:55 pm
thank you for your reply. What is the difference between MCSA: SQL 2016 Database Administration and MCSA: SQL Server 2012/2014?
One is for SQL Server version 2016 and the other...
May 10, 2019 at 1:44 pm
I don't think you can because the hash is created internally based on a structure in the optimizer, not the T-SQL text, that would also have to be recreated. You...
May 10, 2019 at 1:41 pm
There are built in metrics in Permon that you can use. Here's an article. Chapter 3 (or maybe 4, I forget) of my book also discusses monitoring the network....
May 10, 2019 at 1:36 pm
You're on 2016. Use the Query Store. Nice and easy way to gather that information. Otherwise, some of the suggestions are good, query the cache, use extended events and...
May 10, 2019 at 1:32 pm
I'm not aware of a way to do this, no. You can have a query window showing logins. You can refresh that regularly. Or, maybe you're thinking of the Activity...
May 10, 2019 at 1:29 pm
Good luck. I don't blame you. A friend worked for one when I was growing up. They always got to go to cool places. I just searched for "sql server"...
May 9, 2019 at 2:37 pm
Viewing 15 posts - 2,566 through 2,580 (of 22,214 total)