Viewing 15 posts - 6,496 through 6,510 (of 59,072 total)
There are several reporting tools that support a dynamic pivot out of the box.
Sir, I just need it for presentation purposes only. Please suggest any tool...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2020 at 3:31 am
BWAAA-HAAAAA!!! All the answers are incorrect... the correct answer is "This is easy to do in T-SQL... why don't you stick with that"? 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2020 at 3:15 am
Never mind...
Jeff Williams is using the result of your query... that makes the CROSSTAB (which does the pivot) a bit more complicated and, perhaps, a bit slower (maybe not... it's...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2020 at 3:01 am
Tech,
Is there a fixed maximum number of people that can work on a work order?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2020 at 1:26 am
Are you looking for something like the following?
USE [master]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[sp_ShowWorst]
/**********************************************************************************************************************
Purpose:
This store procedure returns the "worst" performing queries in descending order...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 2, 2020 at 12:13 am
So, I broke this down a bit, using a tally table to project to the future. I think all your dates after n= 5 will be the same, but...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 1, 2020 at 9:07 pm
I've never used Brent's BlitzIndex but... you say that everything is the "same" on your boxes... is the data identical, as well? Probably not.
And I love Sergiy's "P.S.". Great example. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2020 at 3:12 pm
While I agree that people need to learn new things (I'm in the process of learning a fair bit about AWS myself... and, unfortunately, am learning that it's not all...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 31, 2020 at 3:02 pm
Compression to save disk space is of dubious value unless it saves IO.
With technologies such as Fusion-IO and SSDs where you are talking about literally thousands of times that...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2020 at 1:48 am
SPAM? Is it not okay to have links to business pursuits?
I'm thinking not... at least not non-SQL related...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2020 at 1:33 am
We have 5 TB database and the rebuild index job is taking days to complete. Is there a way to rebuild indexes on chunks of tables/indexes. For eg, rebuild...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 29, 2020 at 1:30 am
Okay...
Dude! What's with all the SPAM in your signature line???
--Jeff Moden
Change is inevitable... Change for the better is not.
August 28, 2020 at 5:45 pm
It seems to me that if a company wants to really be effective (especially a software company), innovation shouldn't be limited to just 1 day or 1 week during working...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 28, 2020 at 2:48 pm
Hi,
My command is : EXEC Master.dbo.xp_DirTree 'D:\Backups\',1,1
And I have one file in the directory, but the out is : (0 rows affected)
I am running this on SQL Server 2017...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 27, 2020 at 6:46 pm
What is your current Index Rebuild strategy and how frequently and in what % the fragmentation is happening?
To Sergiy's point, asking about the % of Fragmentation is the first...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 27, 2020 at 6:17 pm
Viewing 15 posts - 6,496 through 6,510 (of 59,072 total)