Viewing 15 posts - 121 through 135 (of 1,418 total)
Please ignore this. I have just noticed that some of the production servers still have a GDR dated January and some have a GDR dated July.
I think Windows Update must...
October 19, 2023 at 2:50 pm
One qustion: whats the purpose of
THEN DATEADD(minute, DATEDIFF(minute, '2020', T.StartDateTime), '2020')
ELSE DATEADD(minute, DATEDIFF(minute, '2020', T.EndDateTime), '2020')
instead of
THEN T.StartDateTime
ELSE T.EndDateTime
Looks like it produces the...
October 17, 2023 at 2:10 pm
Try something like:
WITH InOuts
AS
(
SELECT T.GroupingId, X.InOut
,CASE
...
October 17, 2023 at 12:21 pm
What I remember from testing a few years ago:
ie You should should leave...
October 17, 2023 at 8:30 am
string_split makes this easy even without the ordinal field added in 2022.
SELECT value = LTRIM(RTRIM(value)), ordinal = ROW_NUMBER() OVER (ORDER BY (SELECT NULL))
FROM STRING_SPLIT(@OriginalString, ',')
This may...
October 11, 2023 at 3:56 pm
restore to SQL 2008 R2
- set db's compatibility level from 80 to 100
- do backup
- restore this new backup on 2022 🙂
Thanks for the information. Our oldest backups are...
September 21, 2023 at 7:08 pm
You can restore a SQL2000 backup into SQL2008. An evaluation version of SQL2008 is available here:
September 20, 2023 at 3:17 pm
September 20, 2023 at 12:18 pm
Anyone got any ideas how I can get around this limitation.
You can use the CLR. The paid version of the following has File_GetDirectoryListing .
SQL# (SQLsharp) - Expanding the capabilities...
September 19, 2023 at 1:37 pm
There is probably a better method:
SELECT J.spotterId, FD.indexKey, FD.frequency, FD.df, FD.varianceDensity, FD.direction, FD.directionalSpread
FROM OPENJSON (@JSON, '$.data')
WITH (
spotterId nvarchar(25)
,frequencyData nvarchar(max)...
September 14, 2023 at 6:44 pm
post to get over display bug
September 7, 2023 at 8:30 pm
The following comment from https://techcommunity.microsoft.com/t5/sql-server-blog/update-hotfixes-released-for-odbc-and-ole-db-drivers-for-sql/ba-p/3848484 might help.
DavidEngelMS
Microsoft
Aug 10 2023 04:58 PM
@james Auman
This answer has some subtleties, so bear with me.
...
There is an additional scenario I'd like to describe for...
September 7, 2023 at 8:28 pm
I use the following to determine if log backups are worth it on instances with sporadically used DBs. Full and differential backups always get done on the schedule. This works...
September 6, 2023 at 5:59 pm
Try the basics for any version of SQL Server first and play with the cost threshold for parallelism and max degree of parallelism.
For an Online Transaction System, I would start...
September 6, 2023 at 11:03 am
This might also be worth looking at:
https://blog.sqlauthority.com/2019/09/16/sql-server-enable-lock-pages-in-memory-lpim/
August 31, 2023 at 7:30 pm
Viewing 15 posts - 121 through 135 (of 1,418 total)