Viewing 15 posts - 211 through 225 (of 2,610 total)
Look at the files on the drive and see if there is a large, obsolete file(s) (perhaps old backups?).
Depending on the version of SQL Server, you...
December 8, 2023 at 10:05 am
Look at the files on the drive and see if there is a large, obsolete file(s) (perhaps old backups?).
Depending on the version of SQL Server, you might also...
December 8, 2023 at 2:58 am
Hi,
I am not very familiar about how sql server works behind the scenes but could it be that my query results are being saved somewhere on my local drive...
December 7, 2023 at 11:13 pm
Just to add to the previous comments. I upgraded a system from SQL 2012 to SQL 2019 RDS on AWS. One of the most impactful actions after identifying...
December 7, 2023 at 5:23 pm
Just to add to the previous comments. I upgraded a system from SQL 2012 to SQL 2019 RDS on AWS. One of the most impactful actions after identifying slow-running queries...
December 5, 2023 at 11:39 pm
SELECT
CASE
WHEN DATEDIFF(SECOND, crtDte, GETDATE()) < 60 THEN 'Just Posted'
...
December 3, 2023 at 2:22 am
Jonathan AC Roberts wrote:UPDATE MM2WO
SET sDesc = TRANSLATE(sDesc, '&<!>!-=', ' ')
WHERE ...https://learn.microsoft.com/en-us/sql/t-sql/functions/translate-transact-sql?view=sql-server-ver16
TRANSLATE not available in 2016.
Oh yes, I was looking...
November 28, 2023 at 7:09 pm
UPDATE MM2WO
SET sDesc = TRANSLATE(sDesc, '&<!>!-=', ' ')
WHERE ...
https://learn.microsoft.com/en-us/sql/t-sql/functions/translate-transact-sql?view=sql-server-ver16
November 28, 2023 at 6:54 pm
Check the 3 underlying views. If they're all pulling from the same tables, it might be worth while to crib some of the code and write a...
November 27, 2023 at 7:58 pm
Check the 3 underlying views. If they're all pulling from the same tables, it might be worth while to crib some of the code and write a separate query,...
November 27, 2023 at 5:41 pm
Your query is probably trying to access all the tables at the same time and on a not very powerful machine with a slow disk it might be slowing it...
November 26, 2023 at 3:13 pm
Heh... pretty typical for things like this. The OP asks a question and then never participates in their own thread. While some great code has been posted, there are...
November 20, 2023 at 5:59 pm
Have you tried rebuilding the clustered index?
November 19, 2023 at 10:21 pm
.
November 14, 2023 at 11:23 pm
Try installing the table valued function here: https://www.sqlservercentral.com/scripts/a-daterange-table-valued-function
Then to select 15 minute intervals as in your example:
SELECT Value
FROM dbo.DateRange('1900-01-01 00:00', '1900-01-01 23:59'...
November 14, 2023 at 11:22 pm
Viewing 15 posts - 211 through 225 (of 2,610 total)