Viewing 15 posts - 136 through 150 (of 6,676 total)
If my assumption about the eligibility column is correct - then I would next recommend a persisted computed column on that table as: SUBSTRING(eligibility_ud, 1, CHARINDEX('-', eligibility_ud + '-', 1)...
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
February 5, 2024 at 10:55 pm
I am assuming the eligibility_ud columns is structured as: {SubscriberNumber}-{number}
So that would mean we could have something like: 123456789-01, 123456789-02, 123456789-03, ...
If that is the case, and the intended results...
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
February 5, 2024 at 7:46 pm
If InfoSec already has an issue with replication because you are going from Prod to Non-Prod, then using backup/restore is also going to be an issue. Anything that allows production...
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
January 31, 2024 at 9:55 pm
If you cannot get the master key from the original source - then *hopefully* you have copies of all projects in VS so you can redeploy to a newly created...
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
January 31, 2024 at 9:43 pm
I tried Charindex (Name: ) and Charindex(Sal:) then seond - one but no luck yet 🙁
Please help me. Thank you
CharIndex only uses a single character. For a group...
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
January 31, 2024 at 9:31 pm
You can use something like this:
SELECT ...
, col_1 = substring(v.Tag, 1, p1.pos - 2)
, col_2 = substring(v.Tag,...
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
January 29, 2024 at 9:13 pm
No - you don't need to change the max size as that only limits how large the file can get when it auto grows. The auto growth setting is a...
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
January 26, 2024 at 6:40 pm
I will jump in here - if you are backing up the database after you load new data and you are not modifying that data directly, then simple recovery 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
January 25, 2024 at 10:09 pm
When you add a file to a filegroup - SQL Server uses a proportional fill algorithm. Here is some information you can review:
https://www.sqlskills.com/blogs/paul/investigating-the-proportional-fill-algorithm/
Basically, since you added a new...
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
January 25, 2024 at 5:20 pm
If all of the files are in the same filegroup - then it was almost certainly spread across multiple volumes (drives) originally. There are multiple factors to consider here:
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
January 22, 2024 at 9:24 pm
The problem is that you are trying to format the results of a CAST to BIGINT. Instead of using FORMAT (bad idea - really slow) and trying to cast those...
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
January 19, 2024 at 6:02 pm
SSL uses the FQDN - if someone is connecting to SQL Server using listener.domain.com then the certificate must have that same name. If it doesn't have the same name then...
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
January 17, 2024 at 8:00 pm
There really isn't any benefit to splitting out the database into multiple data files - unless those data files are on different volumes. The volumes can either be a drive...
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
January 16, 2024 at 8:58 pm
The fast query is not the same as the slow query - I would focus on the differences. For example - looks like the 'slow' query includes additional tables:
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
January 14, 2024 at 5:08 pm
This configuration doesn't really make sense - it is either a DR scenario without an HA solution or it is just to allow for offloading read only workloads.
There are many...
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
January 10, 2024 at 8:10 pm
Viewing 15 posts - 136 through 150 (of 6,676 total)