Viewing 15 posts - 106 through 120 (of 2,863 total)
Possibly a silly question Grant, but could you do that without the CTE? What I mean is something like:
SELECT (DATEPART(hh, sod.ModifiedDate) +
DATEPART(mi, sod.ModifiedDate) +
DATEPART(ss, sod.ModifiedDate)...
June 10, 2025 at 9:21 pm
Are you able to reproduce this on a test system? If so, I would do so and review the execution plans after each execution.
One question for you though - how...
June 10, 2025 at 9:16 pm
My first thought is "why?"... but if that is your odd requirement, and I am understanding your request correctly (INSERT all possible values in hh:mm:ss:ms format), the easiest way I...
June 9, 2025 at 10:28 pm
I ru ln CHECKDB nightly on my systems. I want to find out about works early. But it really depends on your risk tolerance.
September 16, 2024 at 3:14 pm
I just wanted to point out that IF this is installed on your primary use computer, I would strongly encourage you to configure the max memory to a lower value...
September 13, 2024 at 7:57 pm
My opinion - registry changes for SQL Server configuration are only going to give you grief and break things long term.
Use the SQL configuration manager to check if TCP/IP is...
September 13, 2024 at 3:33 pm
Since you MUST prefix with "NP:" that means you are using named pipes to connect. I've never done that before. I ALWAYS use TCP/IP to connect to my SQL instances...
September 12, 2024 at 8:39 pm
I just wanted to add to ratbak's post recommending indexed views - these are less useful on SQL Standard. SQL Standard doesn't automatically use an index on a view, you...
September 12, 2024 at 8:32 pm
Just to add to what Phil said, it is REALLY hard to guess what is wrong without knowing what the error is. BUT if I had to guess on the...
September 12, 2024 at 8:20 pm
Another thought - are you running the backup with the UNC path and FQDN OR are you trying to backup to a drive letter?
Backup to a drive letter will likely...
September 12, 2024 at 4:33 pm
Just to add, I believe you also need RPC OUT enabled on the linked server in order to execute stored procedures on a remote system as well.
September 12, 2024 at 2:33 pm
Just wanted to add that SSIS lets you use code (scripting in C# if I remember right), so if the functionality is missing in native SSIS, you can build your...
September 12, 2024 at 2:31 pm
Thinking this MAY be working as designed. As per the documentation for the parameter StatisticsModificationLevel:
Specify a percentage of modified rows for when the statistics should be updated. Statistics will also...
September 12, 2024 at 2:26 pm
If the execution plans are the same, then that is weird that performance is different with the AO on and off, especially with async enabled as AO should just push...
September 12, 2024 at 2:16 pm
Another reason why you may be stuck at 2019 on server1 is supported OS. I know my SQL instances are stuck on older versions due to the OS version, but...
September 11, 2024 at 2:57 pm
Viewing 15 posts - 106 through 120 (of 2,863 total)