Viewing 15 posts - 1,096 through 1,110 (of 6,676 total)
For those recommending modifying the code - this is 3rd party vendor code and modifying that code without the vendors permission could invalidate the contract. Some vendors will allow customizations...
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
May 12, 2021 at 7:11 pm
So would you recommend to run update statistics with full scan for the whole database weekly instead of normal update statistics? One thing I noticed when I compared...
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
May 12, 2021 at 7:01 pm
You really should be schema qualifying all objects - it guarantees that the table/object being used is the correct object. For example, if you had a table called Person in...
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
May 12, 2021 at 6:53 pm
Sorry - but it still isn't clear. Users don't connect to databases - they connect to an instance. I don't think you can build a trace or an XE 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
May 11, 2021 at 7:39 pm
I checked the column count in SQL Server table and it matches the number of csv columns.
So - where is this failing and what is the failure message? ...
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
May 11, 2021 at 6:14 pm
What version of SSMS are you using? There was a bug in one of the older version where you couldn't see the files from the GUI.
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
May 11, 2021 at 5:54 pm
If the secondary has not been configured for read-intent, then even with the application intent set in the connection string the select statements would not be redirected to that secondary.
If...
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
May 11, 2021 at 5:35 pm
@jeff - I thought about the CTE method, but I've only used written one CTE successfully on my own to this point a few months ago...I'll keep monkeying around...
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
May 11, 2021 at 5:17 pm
Right.
But we are changing the order of the select (or the Group By) not the when clause. And if you do - you get an error that says...
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
May 11, 2021 at 5:12 pm
Because of the way CASE expressions work - a case expression will stop when it hits a true condition, and changing the order of the WHEN portion can change the...
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
May 11, 2021 at 3:53 pm
I feel that my SQL Agent service account is missing a permission since it runs OK when I login as sa, but fails under job execution. The service...
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
May 10, 2021 at 2:05 pm
I tried copying your code as-is into Azure Data Studio - it immediately shows some problems. Redgate's SQL Prompt won't even format the code due to these problems. You are...
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
May 9, 2021 at 3:50 pm
Nope - no easy way. You will need some project to identify the tables and determine what process will be needed for each table. This can be done using SSIS...
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
May 9, 2021 at 3:37 pm
You are on a very old version? You need to upgrade to the latest version
https://www.microsoft.com/en-us/download/details.aspx?id=54616
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
May 8, 2021 at 4:46 pm
Try this change:
$directoryList = Get-ChildItem -Directory | % { $_.FullName } | Sort-Object
foreach ($directory in $directoryList) {
$dirContents = Get-ChildItem -File -Path $directory...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
May 8, 2021 at 3:12 pm
Viewing 15 posts - 1,096 through 1,110 (of 6,676 total)