Viewing 15 posts - 16 through 30 (of 700 total)
CREATE STATISTICS ... WITH AUTO_DROP is only available on AzureSQLDB, Azure Managed, and SQL2022.
The package was created with the wrong target SQL Server version.
August 23, 2023 at 6:23 pm
After booting them out of the ddl_admin role, you can GRANT and DENY permissions to them directly on the Schema, which will carry through all objects within the schema. Include...
August 21, 2023 at 2:34 pm
Note: Availability Groups are Mirroring version 2.x; you can repurpose the mirrors into AGs that include an AG Listener that will redirect clients after a failover.
Convert the separate mirrors of...
August 16, 2023 at 6:11 pm
.
July 12, 2023 at 6:01 pm
There are a variety of actions you may take on a server that are prohibited in the documentation. I've dealt with several over the years in a VLDB world such...
July 12, 2023 at 6:00 pm
The encrypted data isn't affected by the hashing algorithm change, the storage of the encryption key is.
Details of the issue are listed in the KB article that introduced the trace...
May 30, 2023 at 3:32 pm
You can stop treating a normal condition as a failure that can be ignored by adding the check for primary into each step that does work that should only occur...
March 25, 2023 at 9:22 am
What was the login error, and on which of the two SQL Server instances was it recorded? The client will only receive error 18456 and no other details, but the...
March 10, 2023 at 6:19 am
You can use LIKE in natively-compiled procedures, and that's enough:
-- Declare 2 strings: one with a bad character, and one without
DECLARE @BadChar varchar(128) = 'A funky char...
February 5, 2023 at 2:03 pm
"I have to say that I don't understand the "/SQLSVCACCOUNT" switch or why its needed, but that seems to work."
SQL Express does not run as a program like the application...
January 16, 2023 at 11:45 pm
You are correct in that SQL Server cares not what the source of the certificate is - an X.509 cert is an asymmetric key pair in a specific format. It's...
January 16, 2023 at 11:34 pm
A Data Space is either a Filegroup or a Partition Scheme. Everything showing in your result with a Data Space Name that isn't a filegroup (or has a data_space_id that...
September 22, 2022 at 8:16 pm
Check the Licensing Guide for SQL server (https://download.microsoft.com/download/e/2/9/e29a9331-965d-4faa-bd2e-7c1db7cd8348/SQL_Server_2019_Licensing_guide.pdf)
That doc is for 2019, but the relevant section hasn't changed for several versions.
Search the Licensing Guide for 'Downgrade rights'. A...
September 21, 2022 at 7:05 pm
You PIVOT to turn row values into column names.
SQL Server does not provide dynamic PIVOT, you must specify the names for the new columns you want returned.
Because 'Dry', 'Fine' ('Fines'...
August 1, 2022 at 7:51 pm
Add the 'ALL' option to your WHERE clause:
WHERE @Daygroup = 'ALL' OR DayGroup = @Daygroup
July 15, 2022 at 10:06 pm
Viewing 15 posts - 16 through 30 (of 700 total)