Viewing 15 posts - 1,741 through 1,755 (of 6,676 total)
Assuming you want to parse out the data - you could use CHARINDEX to find the start positions of each segment and then use SUBSTRING to get the individual values. ...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 25, 2020 at 11:31 pm
One of the first things I would do is try to isolate where the report of 'slow' database is coming from.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 25, 2020 at 9:15 pm
I responded to this same question on SQL Team. There is no need for both DISTINCT and GROUP BY - so remove the DISTINCT as it is just going to...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 25, 2020 at 9:01 pm
Jeffrey - if only it was that simple. The individual fields are stored and then the application combines them all together. The documents are built in "sections" which is...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 25, 2020 at 8:12 pm
That leads us back to the question I asked that hasn't yet been answered... before the OP makes any "plans", the first thing that should be done is an...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 25, 2020 at 8:01 pm
One thing I have seen a lot is using the *wrong* join...often times I see code that uses a left outer join when an inner join is appropriate. This will...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 25, 2020 at 7:55 pm
Here are 2 references:
In both documents - they expressly state that you should not use FCM to manipulate availability groups - including such things as:
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 25, 2020 at 7:44 pm
You can adjust the embedded CSS style-sheet to change the colors of the HTML table, the borders, padding, fonts, etc...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 24, 2020 at 9:54 pm
Here is a general template that can be used to include the data in the email:
Set Nocount On;
Declare @body nvarchar(max)
...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 24, 2020 at 9:52 pm
I would recommend reviewing the data being populated - and seeing if that data really should be in VARCHAR(MAX) columns. For example, SNOMED is a code and generally doesn't exceed...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 24, 2020 at 9:11 pm
Failover Cluster Manager *cannot* be used to fail over an availability group. The only method that can be used is SQL - whether from SSMS or through SQL statements.
The reason...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 24, 2020 at 8:38 pm
By using the 'wrong' listener - it is entirely possible that AG group is active on node 1 and the other AG group is active on node 2. In that...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 23, 2020 at 4:36 pm
What is their connection string?
And why are they using the wrong listener to access a database? If using the correct listener works as expected - then they should use that...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 22, 2020 at 9:29 pm
Are they connecting to the listener - or directly to the server? If connecting to the listener - do you have a secondary in that AG set to read-intent? And...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 22, 2020 at 6:35 pm
Thanks! I can't take it offline. Since users want database to be view only mode for a while. So change the db to ready only mode or rename and...
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
June 20, 2020 at 4:30 pm
Viewing 15 posts - 1,741 through 1,755 (of 6,676 total)