Viewing 15 posts - 76 through 90 (of 709 total)
The key aspect of running a SQL Server Failover Clustering Instance (FCI) is that it runs on a Windows Failover Cluster.
The host cluster must be built and configured (including the...
Eddie Wuerch
MCM: SQL
October 5, 2021 at 4:27 pm
I would suggest looking into Distributed Availability Groups. A Distributed Availability Group is an 'AG of AGs'; it is comprised of two or more AGs. The Primary Replica on the...
Eddie Wuerch
MCM: SQL
August 15, 2021 at 11:36 pm
Build two lists: the first list is all of the #partattributes code and code types with counts, the second is a list of #test code and code types with counts....
Eddie Wuerch
MCM: SQL
August 9, 2021 at 7:00 pm
Rebuilding a disabled index does the same work as originally creating it.
The difference between ALTER INDEX ... DISABLE / ALTER INDEX ... REBUILD and DROP INDEX / CREATE INDEX is...
Eddie Wuerch
MCM: SQL
August 5, 2021 at 3:50 pm
After you disable an index, you will need to rebuild it in order to use it again. Disabling drops all the storage for an index.
Eddie Wuerch
MCM: SQL
August 4, 2021 at 8:57 pm
If you introduce a decimal type value into the equation, you turn the results from int to decimal. Note the slight difference between the two function calls - one uses...
Eddie Wuerch
MCM: SQL
July 27, 2021 at 8:35 pm
Change your dynamic SELECT into a dynamic INSERT:
/* instead of: */
set @query = 'SELECT PatientID, LastName, FirstName, .....'
/* use: */
set @query = '
INSERT temp_table(PatientID, LastName,FirstName,...
Eddie Wuerch
MCM: SQL
June 17, 2021 at 5:19 pm
You can set up an AG without a cluster in the DR DC. Then you can wire that up to a Distributed AG with the AG in your main DC....
Eddie Wuerch
MCM: SQL
June 14, 2021 at 2:25 pm
Use the ISNULL() function.
ISNULL(<value_to_test>, <result_if_null>)
-- sample data
CREATE TABLE #IsNullTestr(EmpID char(3), TermDate datetime);
INSERT #IsNullTestr(EmpID, TermDate)
SELECT 'AAA', NULL UNION ALL
SELECT 'AAB', '2021-01-01' UNION ALL
...
Eddie Wuerch
MCM: SQL
June 8, 2021 at 12:41 am
You'll need to create two AD groups, one for standard users, who should not see the sensitive columns, and one for privileged users, who can.
Drop the 'all logins' group from...
Eddie Wuerch
MCM: SQL
May 25, 2021 at 8:52 pm
GETDATE(), GETUTCDATE(), etc., are niladic nondeterministic functions.
A niladic function has no parameters. A nondeterministic function returns different values with the same inputs (the exact results of a GETDATE() call cannot be...
Eddie Wuerch
MCM: SQL
May 24, 2021 at 4:17 pm
If you're running in a Windows domain, and looking for a way to have auto-password management for app service accounts, then look into Managed Service Accounts, such as Group Managed...
Eddie Wuerch
MCM: SQL
May 7, 2021 at 7:04 pm
The Licensing Guide can be downloaded from https://www.microsoft.com/en-us/sql-server/sql-server-2019-pricing
You'll quickly note in that doc that there are a variety of ways to buy the licenses with several different enterprise agreement options...
Eddie Wuerch
MCM: SQL
March 16, 2021 at 8:48 pm
Viewing 15 posts - 76 through 90 (of 709 total)