Viewing 15 posts - 151 through 165 (of 6,678 total)
Should I see this warning when I have ISNULL check at SUM function and changing NULLs to 0?
As Phil pointed out - you can eliminate that message. If you...
January 7, 2024 at 5:18 pm
You really cannot just make assumptions about the data contained in that column. You need to ask the provider of that data on what the string contains and how it...
January 5, 2024 at 7:06 pm
Actually - none of the answers are correct because you also need to take into consideration DST. The earliest time zone offset is +14:00 and both 'Samoa Standard Time' and...
January 1, 2024 at 5:16 pm
It's just a select from 3 tables, and 2 of them are with left join. For aggregations, I would have done it on SQL Server side. Now I am...
December 29, 2023 at 6:32 pm
Here is something - just for a different perspective:
CREATE Function [dbo].[fnGetUSHolidays] (
@inputYear int = 1792
...
December 29, 2023 at 6:11 pm
Not sure I follow your setup - do you have a monthly partition setup for each month going back to 2016? And now you want to remove the partitions older...
December 9, 2023 at 5:21 pm
First - I see no value to having 2 AG's configured, especially since the databases across both AG's need to have access to each other. Can you explain why the...
November 24, 2023 at 5:55 pm
For a lot of companies in the US - the day after Thanksgiving is also considered a holiday. Another question would be - how would you code to get that...
November 24, 2023 at 5:41 pm
I would try a divide & conquer approach first:
CREATE TABLE #email_com_types (comm_val varchar(10), party_id int, domain varchar(255));
SELECT comm_val
,...
November 22, 2023 at 5:24 pm
Instead of worrying about which IP address the VPN is seeing - just create a separate DNS entry and direct it to the 'active' IP address. If you failover then...
November 21, 2023 at 9:51 pm
The format of the file matters - what kind of file is it?
A PDF or Word document - or is it a TIF or some other image file? For any...
November 11, 2023 at 5:21 pm
Or - you could add a file and use EMPTYFILE on the original file. Once the original file is empty it can then be removed.
November 6, 2023 at 8:40 pm
This isn't actually a SQL error - something has changed on the network or server such that larger databases end up timing out when generating the schema.
Look at...
November 6, 2023 at 8:26 pm
The palette is the white area where you can place controls. You can turn on the ruler - that will show the size of the palette. Just looking at your...
October 30, 2023 at 6:31 pm
Have you reviewed this: https://sqlnuggets.com/yikes-cannot-recover-the-master-database/
To further troubleshoot - you need to find the error that preceded this error. Once you have that you can then figure out what needs to...
October 28, 2023 at 5:36 pm
Viewing 15 posts - 151 through 165 (of 6,678 total)