Viewing 15 posts - 301 through 315 (of 6,678 total)
I would agree - generally speaking I wouldn't roll up to the next increment and instead roll down - making each increment the start of the group instead of the...
March 2, 2023 at 9:13 pm
Your timestamp column is a UNIX timestamp based on Seconds. Just use integer division to divide that number by 300 and you'll get the GROUP BY value for your...
March 2, 2023 at 8:34 pm
You can find the answer here: https://learn.microsoft.com/en-us/sql/database-engine/availability-groups/windows/always-on-availability-groups-sql-server?view=sql-server-ver16
The answer is going to depend on the edition and version of SQL Server. For 2014 I think the limitation was 3 synchronous and...
February 24, 2023 at 9:09 pm
How are you sending the email? What email service are you using - and what authentication method is required to access the mail server?
February 22, 2023 at 9:19 pm
Anyone ever hear this one?
One of our groups screwed up the perms on the server drives, and here is what they...
February 17, 2023 at 9:29 pm
You can probably get a significant boost to performance by removing FORMAT and converting those JOINS to a single CROSS APPLY.
It appears you are looking up the anonymized user information...
February 14, 2023 at 7:28 pm
For natively compiled - what I would do is build a string using CHAR with all of the characters you want to search for and a second string with all...
February 5, 2023 at 4:34 pm
Yes - an insert statement can block select statements. The insert statement is going to take exclusive locks - the level of those locks depends on what that insert statement...
February 5, 2023 at 3:45 pm
Adding another entry to get to second page...
January 31, 2023 at 9:13 pm
DDL of Transactions table and ransactions_type below. I tried changing the column name.
What do you mean by this - 'I tried changing the column name'. If you have control...
January 31, 2023 at 9:12 pm
Make sure you are in the correct database - put a USE statement and a GO before the CREATE VIEW:
USE {your database here};
GO
CREATE VIEW ...
...
GO
And - please...
January 31, 2023 at 7:48 pm
Unless I am missing something - you are not going to be successful using SQL Server Express Edition. It looks like the original application was using SQL Server Express LocalDB.
Start...
January 31, 2023 at 7:38 pm
It sounds like you are installing a named instance on the server - and not a default instance. Named instances do not use the default port unless they are configured...
January 31, 2023 at 7:14 pm
It isn't SQL that is the problem - it would be network latency between sites causing the issues or maybe the routing on the network. SQL Server receives the request,...
January 31, 2023 at 7:05 pm
What is the current OS on the server(s) - and was that performed as an in-place upgrade also? The minimum OS to support SQL Server 2019 is Windows Server 2016. ...
January 30, 2023 at 9:46 pm
Viewing 15 posts - 301 through 315 (of 6,678 total)