Viewing 15 posts - 1 through 15 (of 708 total)
Your choices are:
There no such thing as 'SQL Server only' authentication.
September 3, 2025 at 6:24 pm
Aliases can get you pretty far once you set up a little automation.
Aliases are stored in the Windows Registry (at least on Windows machines). Once you've created an Alias, you...
June 9, 2025 at 5:24 pm
The above example could be turned into a single statement:
-- Note:uses the #XMLParse table from the previous post
-- These two values would be passed in as parameters
DECLARE...
April 28, 2025 at 6:44 am
You can pull this off with a few extra steps to split the input XPath into separate variables for each level in the XPath, and then performing the node test...
April 28, 2025 at 3:25 am
How do you explain anything to the chiefs? Use their language.
MONEY
There are costs associated with both your approach and the one taken.
There are financial benefits to be realized from both...
March 13, 2025 at 10:03 pm
The contents of "attributes" is an array, so you must further shred each row by passing the "attributes" array into another OPENJSON call through OUTER APPLY. This produces one row...
January 11, 2025 at 4:13 am
If your SSRS reports are pulling the data from databases hosted on Azure SQL Managed Instance, consider hosting report server databases on the same instance, thus minimizing the database...
January 9, 2025 at 2:53 pm
To pull off multiple aggregations in a single pivot, just code it yourself:
WITH CountsAndSums AS (
SELECT County, DiagnosisGroup,
...
November 2, 2024 at 7:48 am
Any connection accessing a database will, at the very least, hold an S (Share) lock on the database. That S lock prevents others from taking exclusive control of the DB...
November 2, 2024 at 7:25 am
Upgrading a cryptographic provider can be accomplished without restarting the instance or dropping the provider, with the key provision that this only works if the name of the provider file...
July 17, 2024 at 3:17 pm
When you declare @id, its initial value is NULL. When you concat NULL to any other string, the default CONCAT_NULL_YIELDS_NULL connection setting will result in a NULL string.
Initialize @id with...
December 30, 2023 at 9:31 pm
Also check what the product is doing - I've been places where threat scanning involved a product throwing a laundry list of known exploits at each of the SQL Servers...
December 14, 2023 at 6:41 pm
There's a free SQL database option: https://learn.microsoft.com/en-us/azure/azure-sql/database/free-offer?view=azuresql
100,000 vCPU minutes/month, 32GB max DB size. You can set the "Behavior when free limit reached" option to 'Auto-pause the database until next month'...
November 16, 2023 at 4:12 am
You're working too hard. You can do decimal math on datetime values; 1.0 = one full day, 0.5 = 12 hours, etc:
SELECT getdate() AS [Now], getdate() +...
November 15, 2023 at 7:22 am
ADF feels like 'the next version of SSIS, but in the cloud', IMHO. SSIS/SSDT are free; if you have access to materials to help you learn the on-prem tools, then...
November 6, 2023 at 9:23 pm
Viewing 15 posts - 1 through 15 (of 708 total)